Merge pull request #893 from koen-vg/fix-source-path
Avoid the use use of `workflow.source_path`
This commit is contained in:
commit
5980618159
@ -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 []
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user