Skip to content

Commit 725cd82

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

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

nipype/interfaces/freesurfer/longitudinal.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,16 @@ def _list_outputs(self):
256256

257257

258258
class BaseReconAllInputSpec(ReconAllInputSpec):
259-
base_id = traits.Str(argstr="-base %s", desc="base template name", xor=["subject_id"])
260-
timepoints = InputMultiObject(
261-
traits.Str(), argstr="-tp %s...", desc="processed time point to use in template"
259+
base_template_id = traits.Str(
260+
argstr="-base %s",
261+
desc="base template name",
262+
mandatory=True,
263+
)
264+
base_timepoint_ids = InputMultiObject(
265+
traits.Str(),
266+
argstr="-base-tp %s...",
267+
desc="processed time point to use in template",
268+
mandatory=True,
262269
)
263270

264271
class BaseReconAllOutputSpec(FreeSurferSource.output_spec):

0 commit comments

Comments
 (0)