Skip to content

Commit

Permalink
padval
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmeunier79 committed May 15, 2024
1 parent 7a41e39 commit d718b30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion macapype/pipelines/full_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ def create_brain_segment_from_mask_pipe(
register_NMT_pipe, "inputnode.indiv_params")

elif "reg" in params:
# Iterative registration to the INIA19 template
# Iterative registration to the template
reg = NodeParams(
IterREGBET(),
params=parse_key(params, "reg"),
Expand Down
4 changes: 3 additions & 1 deletion macapype/pipelines/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,9 @@ def create_short_preparation_pipe(params, params_template={},
params_template["padded_template_head"]

elif "template_head" in params_template.keys():
print("Found pad_val {}".format(pad_val))
if "pad_val" in params["resample_T1_pad"].keys():
pad_val = params["resample_T1_pad"]["pad_val"]
print("Found pad_val {}".format(pad_val))

# padding versio of the template
pad_template = NodeParams(
Expand Down

0 comments on commit d718b30

Please sign in to comment.