From 7b90c87260b96579db19007d2fa1e9317c530f09 Mon Sep 17 00:00:00 2001 From: adsouza Date: Fri, 29 Nov 2024 18:19:36 +1100 Subject: [PATCH] update mri_s2s and mri_a2a originals with dummy dependency subject dir --- .../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 6fd9556..282b55a 100644 --- a/src/australianimagingservice/mri/human/neuro/t1w/preprocess.py +++ b/src/australianimagingservice/mri/human/neuro/t1w/preprocess.py @@ -932,7 +932,7 @@ def join_task_catalogue( output_spec=mri_s2s_output_spec, cache_dir=cache_dir, source_subject_id=wf.join_task.lzout.fsavg_dir, - target_subject_id=wf.FastSurfer_task.lzout.subjects_dir_output, # wf.lzin.FS_dir, + target_subject_id=wf.mri_s2s_task_originals_lh.lzout.target_subject_id, # create dependency on lh being executed first source_annotation_file=getattr( wf.join_task.lzout, f"source_annotation_file_{hemi}" ), @@ -949,12 +949,12 @@ def join_task_catalogue( wf.add( ShellCommandTask( - name="mri_a2a_task_originals", + name="mri_s2s_task_originals_rh", executable="mri_aparc2aseg", input_spec=mri_a2a_input_spec, output_spec=mri_a2a_output_spec, cache_dir=cache_dir, - subject=wf.FastSurfer_task.lzout.subjects_dir_output, # wf.lzin.FS_dir, + subject=wf.mri_s2s_task_rh.lzout.target_subject_id, # wf.lzin.FS_dir, old_ribbon=True, annotname=wf.join_task.lzout.annot_short, )