Skip to content

Commit

Permalink
update mri_s2s and mri_a2a originals with dummy dependency subject dir
Browse files Browse the repository at this point in the history
  • Loading branch information
adsouza committed Nov 29, 2024
1 parent 31c4afc commit 7b90c87
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
),
Expand All @@ -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,
)
Expand Down

0 comments on commit 7b90c87

Please sign in to comment.