Skip to content

Commit 4d64f99

Browse files
committed
fix: store undefined by default so that xor checks don't trip
1 parent 2e211f7 commit 4d64f99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nipype/scripts/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def add_args_options(arg_parser, interface):
6363
args = {}
6464

6565
if spec.is_trait_type(traits.Bool):
66+
args["default"] = getattr(inputs, name)
6667
args["action"] = 'store_true'
6768

6869
if hasattr(spec, "mandatory") and spec.mandatory:

0 commit comments

Comments
 (0)