It seems that ArgumentParser has a weird way of converting values to bool as only "" is mapped to False (False and 0 map to True).
It makes it a struggle to deactivate steps (e.g., --crop or --do_atlas_align).
Maybe something along those lines can be used to make it easier for the user to pass boolean values?
(Also, it would be super useful to have the default values written in the command-line help)
It seems that ArgumentParser has a weird way of converting values to bool as only
""
is mapped toFalse
(False
and0
map toTrue
). It makes it a struggle to deactivate steps (e.g.,--crop
or--do_atlas_align
). Maybe something along those lines can be used to make it easier for the user to pass boolean values?(Also, it would be super useful to have the default values written in the command-line help)
Thanks!