Skip to content

Commit

Permalink
fix for myelin maps sampled on nativesurf
Browse files Browse the repository at this point in the history
also adds a dryrun test (since this was in github actions tests already)
  • Loading branch information
akhanf committed Jan 8, 2025
1 parent f76bba6 commit 4bc891b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
1 change: 1 addition & 0 deletions .dryrun_test_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ hippunfold test_data/bids_manualseg_1hemi test_out participant -np --modality ma
hippunfold test_data/bids_singleT2w test_out participant -np --modality T2w --t1_reg_template
hippunfold test_data/bids_singleT2w test_out participant -np --modality T2w --output_space T1w
hippunfold test_data/bids_T1w test_out participant -np --modality T1w --use-template-seg
hippunfold test_data/bids_singleT2w test_out participant -np --modality T2w --generate-myelin-map
12 changes: 4 additions & 8 deletions hippunfold/workflow/rules/myelin_map.smk
Original file line number Diff line number Diff line change
Expand Up @@ -83,29 +83,26 @@ rule sample_myelin_map_surf:
**inputs.subj_wildcards
),
mid=bids(
root=root,
root=work,
datatype="surf",
den="{density}",
suffix="midthickness.surf.gii",
space="corobl",
hemi="{hemi}",
label="{autotop}",
**inputs.subj_wildcards
),
inner=bids(
root=root,
root=work,
datatype="surf",
den="{density}",
suffix="inner.surf.gii",
space="corobl",
hemi="{hemi}",
label="{autotop}",
**inputs.subj_wildcards
),
outer=bids(
root=root,
root=work,
datatype="surf",
den="{density}",
suffix="outer.surf.gii",
space="corobl",
hemi="{hemi}",
Expand All @@ -126,9 +123,8 @@ rule sample_myelin_map_surf:
metric=bids(
root=root,
datatype="surf",
den="{density}",
suffix="myelin.shape.gii",
space="{space}",
space="corobl",
hemi="{hemi}",
label="{autotop}",
**inputs.subj_wildcards
Expand Down

0 comments on commit 4bc891b

Please sign in to comment.