Skip to content

Commit

Permalink
updating the orientation flag at other places where resolve_resolutio…
Browse files Browse the repository at this point in the history
…n is being used
  • Loading branch information
birajstha committed Oct 1, 2024
1 parent 2a7225d commit 99a8d4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CPAC/longitudinal_pipeline/longitudinal_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,7 @@ def func_longitudinal_template_wf(subject_id, strat_list, config):
resampled_template.inputs.template = template
resampled_template.inputs.template_name = template_name
resampled_template.inputs.tag = tag
resampled_template.inputs.orientation = config['desired_orientation']

strat_init.update_resource_pool(
{template_name: (resampled_template, "resampled_template")}
Expand Down
1 change: 1 addition & 0 deletions CPAC/registration/tests/mocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def configuration_strategy_mock(method="FSL"):
resampled_template.inputs.template = template
resampled_template.inputs.template_name = template_name
resampled_template.inputs.tag = tag
resampled_template.inputs.orientation = "RPI"

strat.update_resource_pool(
{template_name: (resampled_template, "resampled_template")}
Expand Down
1 change: 1 addition & 0 deletions CPAC/utils/test_mocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def configuration_strategy_mock(method="FSL"):
resampled_template.inputs.template = template
resampled_template.inputs.template_name = template_name
resampled_template.inputs.tag = tag
resampled_template.inputs.orientation = "RPI"

strat.update_resource_pool(
{template_name: (resampled_template, "resampled_template")}
Expand Down

0 comments on commit 99a8d4c

Please sign in to comment.