...
If you want to convert it into a list of floats
or ints
, just replace str
in list(map(str, picks.split(', ')))
by the type you want.
If the list is empty, the user must enter []
. In the Python code it will be converted into an empty list:
Code Block |
---|
if config['param_extended_proj'] == '[]':
config['param_extended_proj'] = [] |
Cases when a parameter can be two types
...