From 21e8db763a63c3362c93472d16ddb28a544b3d1d Mon Sep 17 00:00:00 2001 From: adsouza Date: Tue, 12 Nov 2024 15:49:57 +1100 Subject: [PATCH] changed mandatory to false in mri_s2s --- .../mri/human/neuro/t1w/preprocess.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/australianimagingservice/mri/human/neuro/t1w/preprocess.py b/src/australianimagingservice/mri/human/neuro/t1w/preprocess.py index 5c3cc67..ce8364d 100644 --- a/src/australianimagingservice/mri/human/neuro/t1w/preprocess.py +++ b/src/australianimagingservice/mri/human/neuro/t1w/preprocess.py @@ -512,11 +512,11 @@ def join_task_catalogue( ), ( "target_subject_id", - str, + Directory, { "help_string": "target subject", "argstr": "--trgsubject", - "mandatory": True, + "mandatory": False, }, ), ], @@ -828,7 +828,7 @@ def join_task_catalogue( input_spec=mri_a2a_input_spec, output_spec=mri_a2a_output_spec, cache_dir=cache_dir, - subject=wf.mri_s2s_task_lh.lzout.target_subject_id, # create dependency on lh and rh annot files having been created + subject=wf.mri_s2s_task_rh.lzout.target_subject_id, # create dependency on lh and rh annot files having been created new_ribbon=True, annotname=wf.join_task.lzout.annot_short, )