Skip to content

Commit cdb3a54

Browse files
author
Nicolas Toussaint
committed
niftyfit interface - ASL processing: the fit_qt1 interface is modified to accomodate the TIs list and the order of the parameters
1 parent 3591a76 commit cdb3a54

File tree

1 file changed

+3
-2
lines changed
  • nipype/interfaces/niftyfit

1 file changed

+3
-2
lines changed

nipype/interfaces/niftyfit/qt1.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class FitQt1InputSpec(NIFTYFITCommandInputSpec):
1515

1616
source_file = File(exists=True, desc='Filename of the 4D Multi-Echo T1 source image (mandatory)',
17-
argstr='-source %s', mandatory=True)
17+
argstr='-source %s', mandatory=True, position=2)
1818

1919
# *** Output options:
2020
t1map = File(genfile=True, exists=True, desc='Filename of the estimated output T1 map (in ms).',
@@ -42,7 +42,8 @@ class FitQt1InputSpec(NIFTYFITCommandInputSpec):
4242

4343
SR = traits.Bool(desc='Saturation Recovery fitting [default].', argstr='-SR')
4444
IR = traits.Bool(desc='Inversion Recovery fitting [default].', argstr='-SR')
45-
T1s = traits.ListFloat(desc='Inversion times for T1 data as a list (in s)', argstr='-T1s %f %f %f')
45+
TIs = traits.List(traits.Float, minlen=3, maxlen=3, desc='Inversion times for T1 data as a list (in s)',
46+
argstr='-TIs %s', sep=' ')
4647
T1Lists = traits.File(exists=True, desc='Filename of list of pre-defined TIs', argstr='-T1List %s')
4748

4849
# SPGR options

0 commit comments

Comments
 (0)