Skip to content

Commit 8d34ba0

Browse files
committed
Merge pull request #466 from chrisfilo/fix/fsl_minor
Fix/fsl minor
2 parents 89b24e6 + 3d5cd6f commit 8d34ba0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ class FNIRTInputSpec(FSLCommandInputSpec):
690690
'to intensity mapping', hash_files=False)
691691
log_file = File(argstr='--logout=%s',
692692
desc='Name of log-file', genfile=True, hash_files=False)
693-
config_file = File(exists=True, argstr='--config=%s',
693+
config_file = traits.Either(traits.Enum("T1_2_MNI152_2mm", "FA_2_FMRIB58_1mm"), File(exists=True), argstr='--config=%s',
694694
desc='Name of config file specifying command line arguments')
695695
refmask_file = File(exists=True, argstr='--refmask=%s',
696696
desc='name of file with mask in reference space')

nipype/interfaces/fsl/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,3 +1187,4 @@ def _list_outputs(self):
11871187
outputs['out_file'] = self._gen_filename('out_file')
11881188
else:
11891189
outputs['out_file'] = os.path.abspath(self.inputs.out_file)
1190+
return outputs

0 commit comments

Comments
 (0)