Skip to content

Commit

Permalink
Merge pull request #893 from koen-vg/fix-source-path
Browse files Browse the repository at this point in the history
Avoid the use use of `workflow.source_path`
  • Loading branch information
fneum authored Jan 24, 2024
2 parents b8a303b + 5077ece commit 5980618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def memory(w):
def input_custom_extra_functionality(w):
path = config["solving"]["options"].get("custom_extra_functionality", False)
if path:
return workflow.source_path(path)
return os.path.join(os.path.dirname(workflow.snakefile), path)
return []


Expand Down

0 comments on commit 5980618

Please sign in to comment.