Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
have to figure out why `snakemake.input.lbl` is a NamedList when it should just be a string when we run with e.g. `--modality segT2w` and `--skip-template-inject-shape`  but forced the type cast here..
  • Loading branch information
akhanf authored Mar 24, 2022
1 parent b227719 commit 194de93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hippunfold/workflow/scripts/laplace_coords.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# initialize foreground (gm), source, and sink

lbl_nib = nib.load(snakemake.input.lbl)
lbl_nib = nib.load(str(snakemake.input.lbl))
lbl = lbl_nib.get_fdata()

idxgm = np.zeros(lbl.shape)
Expand Down

0 comments on commit 194de93

Please sign in to comment.