You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the PR above dtype is now set at the time the dataframe is created. I did not do this as wanted to discuss here first but it would be possible at this point to raise an exception at this early stage if this dtype allocation process fails, such as in this situation. It was occurring because the new csv generation function was randomising booleans for the closed loop measure, rather than choices.
If the csv contains the wrong types (eg True/False in this case, rather than the expect int associated with the choice), should we just reject the whole csv maybe with a useful message to say please fix and try again?
Edit
dummy_sheet.csv
to have two rows of data. Make the following edits:If treatment included insulin pump therapy (i.e. option 3 or 6 selected), was this part of a closed loop system?
1
TRUE
Upload. You should get a validation error but instead you get a crash:
The text was updated successfully, but these errors were encountered: