Skip to content

Commit 7d5253e

Browse files
l-espanaghisvail
andauthored
Make longitudinal recon more explicit per code review
Co-authored-by: Ghislain Vaillant <[email protected]>
1 parent 725cd82 commit 7d5253e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

nipype/interfaces/freesurfer/longitudinal.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -358,17 +358,16 @@ def cmdline(self):
358358

359359

360360
class LongReconAllInputSpec(ReconAllInputSpec):
361-
long_id = traits.Str(
361+
longitudinal_timepoint_id = traits.Str(
362362
argstr="-long %s",
363363
desc="longitudinal session/timepoint id",
364-
xor=["subject_id"],
365-
requires=["base_id"],
364+
mandatory=True
366365
position=1
367366
)
368-
base_id = traits.Str(
367+
longitudinal_template_id = traits.Str(
369368
argstr="%s",
370369
desc="longitudinal base template id",
371-
requires=["long_id"],
370+
mandatory=True,
372371
position=2
373372
)
374373

0 commit comments

Comments
 (0)