Skip to content

Commit

Permalink
a bit more brevity
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan DeKraker committed Dec 18, 2024
1 parent f3ec282 commit 325e018
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 22 deletions.
34 changes: 13 additions & 21 deletions hippunfold/config/snakebids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,34 +343,26 @@ xfm_identity_itk: resources/etc/identity_xfm_itk.txt
# TODO: should also perhaps include modalities avaialble, and any custom crop_native_res settings
template_available_hemis:
CITI168:
hemi:
- R
- L
- R
- L
dHCP:
hemi:
- R
- L
- R
- L
MBMv2:
hemi:
- R
- R
MBMv3:
hemi:
- R
- R
CIVM:
hemi:
- R
- L
- R
- L
upenn:
hemi:
- R
- R
ABAv3:
hemi:
- R
- L
- R
- L
bigbrain:
hemi:
- R
- L
- R
- L

template_files:
CITI168:
Expand Down
2 changes: 1 addition & 1 deletion hippunfold/workflow/rules/download.smk
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ rule download_extract_template:
hemi_constraints = []
if config["template"] in config["template_available_hemis"]:
for hemi in config["hemi"]:
if hemi in config["template_available_hemis"][config["template"]]["hemi"]:
if hemi in config["template_available_hemis"][config["template"]]:
hemi_constraints.append(hemi)

hemi_constrained_wildcard = "{{hemi,{constraints}}}".format(
Expand Down

0 comments on commit 325e018

Please sign in to comment.