Merge pull request #893 from koen-vg/fix-source-path

Avoid the use use of `workflow.source_path`
This commit is contained in:
Fabian Neumann 2024-01-24 16:58:00 +01:00 committed by GitHub
commit 5980618159
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 []