Skip to content

Commit

Permalink
add missing wildcard formats
Browse files Browse the repository at this point in the history
  • Loading branch information
akhanf committed Feb 16, 2024
1 parent ae7c1b1 commit 5b2f842
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions hippunfold/workflow/rules/shape_inject.smk
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ rule import_template_shape:
template_dir=Path(download_dir) / "template" / config["inject_template"],
params:
template_seg=lambda wildcards, input: Path(input.template_dir)
/ config["template_files"][config["inject_template"]]["dseg"],
/ config["template_files"][config["inject_template"]]["dseg"].format(
**wildcards
),
output:
template_seg=bids(
root=work,
Expand Down Expand Up @@ -303,7 +305,9 @@ rule inject_init_laplace_coords:
template_dir=Path(download_dir) / "template" / config["inject_template"],
params:
coords=lambda wildcards, input: Path(input.template_dir)
/ config["template_files"][config["inject_template"]]["coords"],
/ config["template_files"][config["inject_template"]]["coords"].format(
**wildcards
),
interp_opt="-ri NN",
output:
init_coords=bids(
Expand Down

0 comments on commit 5b2f842

Please sign in to comment.