Skip to content

Commit

Permalink
cleaned more instances of segTxw
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan DeKraker committed Dec 17, 2024
1 parent 71c1205 commit 8bb1102
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions hippunfold/workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,9 @@ def get_avg_or_cp_scans_cmd(wildcards, input, output):
return cmd


def get_modality_key(modality):
if modality[:3] == "seg":
return "seg"
else:
return modality


def get_modality_suffix(modality):
if modality[:3] == "seg":
return modality[3:]
elif modality[:4] == "hipp":
if modality[:4] == "hipp":
return modality[4:]
else:
return modality
Expand Down

0 comments on commit 8bb1102

Please sign in to comment.