Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan DeKraker committed Jan 30, 2025
1 parent 8863223 commit 601789b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions hippunfold/workflow/rules/gifti.smk
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ rule cp_template_to_unfold:
"tpl-avg_space-unfold_den-{density}_{surfname}.surf.gii",
),
params:
structure_type=lambda wildcards: get_structure(
wildcards.hemi, wildcards.label
),
structure_type=lambda wildcards: get_structure(wildcards.hemi, wildcards.label),
secondary_type=lambda wildcards: surf_to_secondary_type[wildcards.surfname],
surface_type="FLAT",
output:
Expand Down Expand Up @@ -73,9 +71,7 @@ rule calc_unfold_template_coords:
coord_IO="coord-IO.shape.gii",
origin=lambda wildcards: config["{label}"]["origin"],
extent=lambda wildcards: config["{label}"]["extent"],
structure_type=lambda wildcards: get_structure(
wildcards.hemi, wildcards.label
),
structure_type=lambda wildcards: get_structure(wildcards.hemi, wildcards.label),
output:
coords_gii=bids(
root=work,
Expand Down Expand Up @@ -106,7 +102,6 @@ rule calc_unfold_template_coords:
"wb_command -set-structure {output.coords_gii} {params.structure_type}"



# warp from corobl to native
rule affine_gii_to_native:
input:
Expand Down

0 comments on commit 601789b

Please sign in to comment.