Skip to content

Commit

Permalink
remove redundant rule, linting
Browse files Browse the repository at this point in the history
  • Loading branch information
akhanf committed Dec 30, 2024
1 parent 9192ae3 commit 48694bc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 36 deletions.
1 change: 1 addition & 0 deletions hippunfold/workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def get_final_output():
subj_output.extend(get_final_qc())
return subj_output


if "corobl" in ref_spaces:

rule copy_coords_to_results:
Expand Down
32 changes: 0 additions & 32 deletions hippunfold/workflow/rules/gifti.smk
Original file line number Diff line number Diff line change
Expand Up @@ -142,38 +142,6 @@ rule constrain_surf_to_bbox:
"../scripts/constrain_surf_to_bbox.py"


# needed for if native_modality is corobl
rule cp_corobl_root:
input:
gii=bids(
root=work,
datatype="surf",
den="{density}",
suffix="{surfname}.surf.gii",
space="corobl",
hemi="{hemi}",
label="{autotop}",
**inputs.subj_wildcards
),
output:
gii=bids(
root=root,
datatype="surf",
den="{density}",
suffix="{surfname}.surf.gii",
space="corobl",
hemi="{hemi}",
label="{autotop}",
**inputs.subj_wildcards
),
group:
"subj"
container:
config["singularity"]["autotop"]
shell:
"cp {input} {output}"


# warp from corobl to native
rule affine_gii_to_native:
input:
Expand Down
4 changes: 0 additions & 4 deletions hippunfold/workflow/rules/native_surf.smk
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,3 @@ rule atlas_label_to_unfold_nii:
shell:
"wb_command -label-to-volume-mapping {params.label_gii} {params.midthickness_surf} {input.ref_nii} {output.label_nii} "
" -nearest-vertex 1000"
#use really large distance to ensure all voxels labelled


# " -ribbon-constrained {params.inner_surf} {params.outer_surf}"

0 comments on commit 48694bc

Please sign in to comment.