Skip to content

Commit ce531a0

Browse files
committed
Changed the config_file input under FNIRT Inputspec to take in a String instead of an Enum type. This way a custom FSL FNIRT config file can be used.
1 parent 7b44101 commit ce531a0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -785,9 +785,10 @@ class FNIRTInputSpec(FSLCommandInputSpec):
785785
'to intensity mapping', hash_files=False)
786786
log_file = File(argstr='--logout=%s',
787787
desc='Name of log-file', genfile=True, hash_files=False)
788-
config_file = traits.Either(
789-
traits.Enum("T1_2_MNI152_2mm", "FA_2_FMRIB58_1mm"), File(exists=True), argstr='--config=%s',
788+
789+
config_file = traits.String(argstr='--config=%s',
790790
desc='Name of config file specifying command line arguments')
791+
791792
refmask_file = File(exists=True, argstr='--refmask=%s',
792793
desc='name of file with mask in reference space')
793794
inmask_file = File(exists=True, argstr='--inmask=%s',

0 commit comments

Comments
 (0)