Skip to content

Commit

Permalink
forgot conversion to str
Browse files Browse the repository at this point in the history
  • Loading branch information
akhanf committed Feb 16, 2024
1 parent 3ab2631 commit 7a6d33d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions hippunfold/workflow/rules/qc.smk
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ rule qc_reg_to_template:
),
template_dir=Path(download_dir) / "template" / config["template"],
params:
ref=lambda wildcards, input: Path(input.template_dir)
/ config["template_files"][config["template"]][wildcards.native_modality],
ref=lambda wildcards, input: str(
Path(input.template_dir)
/ config["template_files"][config["template"]][
wildcards.native_modality
].format(**wildcards)
),
output:
png=report(
bids(
Expand Down

0 comments on commit 7a6d33d

Please sign in to comment.