Skip to content

Commit

Permalink
native_T1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmeunier79 committed Dec 6, 2024
1 parent 20fd8f6 commit 61c46c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions macapype/pipelines/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,21 +404,17 @@ def create_short_preparation_pipe(params, params_template={},
crop_T1, "roi_file",
crop_aladin_pipe, 'inputnode.native_T1')

data_preparation_pipe.connect(
crop_T1, "roi_file",
crop_aladin_pipe, 'inputnode.orig_native_T1')

else:
# connect orig_native_T1
if "avg_reorient_pipe" in params.keys():
data_preparation_pipe.connect(
av_T1, 'outputnode.std_img',
crop_aladin_pipe, 'inputnode.orig_native_T1')
crop_aladin_pipe, 'inputnode.native_T1')

else:
data_preparation_pipe.connect(
av_T1, 'avg_img',
crop_aladin_pipe, 'inputnode.orig_native_T1')
crop_aladin_pipe, 'inputnode.native_T1')

data_preparation_pipe.connect(
inputnode, 'indiv_params',
Expand Down
1 change: 1 addition & 0 deletions macapype/pipelines/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ def _create_remove_capsule_pipeline(name="remove_capsule_pipe", params={}):

return remove_caps_pipe


def create_crop_aladin_pipe(name="crop_aladin_pipe", params={}):

reg_pipe = pe.Workflow(name=name)
Expand Down

0 comments on commit 61c46c6

Please sign in to comment.