[ENH]: Validate boolean parameters passed from yaml file #296

Open
opened 2024-01-26 10:02:31 +00:00 by tomug · 0 comments
tomug commented 2024-01-26 10:02:31 +00:00 (Migrated from github.com)

I erroneously passed a list to the DataladHCP1200 data grabber trying to set the ica_fix parameter to false but provided it in list notation. The data grabber ended up getting the FIX-cleaned data, because the list was resolved to true.

Suggested solve: validate the parameters so if a boolean is expected and a list is given one gets an error.

I erroneously passed a list to the DataladHCP1200 data grabber trying to set the `ica_fix` parameter to `false` but provided it in list notation. The data grabber ended up getting the FIX-cleaned data, because the list was resolved to true. Suggested solve: validate the parameters so if a boolean is expected and a list is given one gets an error.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
juaml/junifer#296
No description provided.