Skip to content

Commit

Permalink
Import patch (#314)
Browse files Browse the repository at this point in the history
* moved import to where it is needed

---------

Co-authored-by: Jordan DeKraker <[email protected]>
  • Loading branch information
2 people authored and akhanf committed Dec 16, 2024
1 parent 8b85b38 commit d3c74bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions hippunfold/workflow/rules/common.smk
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from appdirs import AppDirs

# take mean of all scans if >1, otherwise just copy the one scan
def get_avg_or_cp_scans_cmd(wildcards, input, output):
if len(input) > 1:
Expand Down
1 change: 0 additions & 1 deletion hippunfold/workflow/rules/nnunet.smk
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import re
from appdirs import AppDirs


def get_nnunet_input(wildcards):
Expand Down

0 comments on commit d3c74bd

Please sign in to comment.