Skip to content

Commit d499679

Browse files
authored
FIX: Update traits in GLMFit subclasses
1 parent 2c8e2cd commit d499679

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

nipype/interfaces/freesurfer/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ class GLMFitInputSpec(FSTraitedSpec):
407407
argstr="--mrtm1 %s %s",
408408
desc="RefTac TimeSec : perform MRTM1 kinetic modeling",
409409
)
410-
mrtm2 = traits.Tuple(
410+
mrtm2 = traits.Tuple(
411411
File(exists=True),
412412
File(exists=True),
413413
traits.Float,

nipype/interfaces/freesurfer/petsurfer.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,9 @@ def _format_arg(self, name, spec, value):
521521

522522

523523
class MRTMInputSpec(GLMFitInputSpec):
524-
mrtm1 = InputMultiPath(
525-
traits.Tuple(File(exists=True), File(exists=True)),
524+
mrtm1 = traits.Tuple(
525+
File(exists=True),
526+
File(exists=True),
526527
mandatory=True,
527528
argstr="--mrtm1 %s %s...",
528529
desc="RefTac TimeSec : perform MRTM1 kinetic modeling",
@@ -546,8 +547,10 @@ class MRTM(GLMFit):
546547

547548

548549
class MRTM2InputSpec(GLMFitInputSpec):
549-
mrtm2 = InputMultiPath(
550-
traits.Tuple(File(exists=True), File(exists=True), traits.Float),
550+
mrtm2 = traits.Tuple(
551+
File(exists=True),
552+
File(exists=True),
553+
traits.Float,
551554
mandatory=True,
552555
argstr="--mrtm2 %s %s %f...",
553556
desc="RefTac TimeSec k2prime : perform MRTM2 kinetic modeling",
@@ -570,8 +573,10 @@ class MRTM2(GLMFit):
570573

571574

572575
class LoganRefInputSpec(GLMFitInputSpec):
573-
logan = InputMultiPath(
574-
traits.Tuple(File(exists=True), File(exists=True), traits.Float),
576+
logan = traits.Tuple(
577+
File(exists=True),
578+
File(exists=True),
579+
traits.Float,
575580
mandatory=True,
576581
argstr="--logan %s %s %g...",
577582
desc="RefTac TimeSec tstar : perform Logan kinetic modeling",

0 commit comments

Comments
 (0)