Skip to content

Commit 18eedf7

Browse files
committed
fix: make outvol mandatory
1 parent 61978ad commit 18eedf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ class MNIBiasCorrectionInputSpec(FSTraitedSpec):
14671467
# mandatory
14681468
in_file = File(exists=True, mandatory=True, argstr="--i %s",
14691469
desc="input volume. Input can be any format accepted by mri_convert.")
1470-
out_file = File(argstr="--o %s", name_source=['in_file'],
1470+
out_file = File(argstr="--o %s", mandatory=True, name_source=['in_file'],
14711471
name_template='%s_output', hash_files=False, keep_extension=True,
14721472
desc="output volume. Output can be any format accepted by mri_convert. " +
14731473
"If the output format is COR, then the directory must exist.")

0 commit comments

Comments
 (0)