Johannes Eberenz

Results 3 comments of Johannes Eberenz

Thanks for the quick reply! Good to know

I also have this problem. The workaround with `workflow.basedir` does unfortunately not work when the workflow is imported as a module from a remote or local repo (using `gitlab`, `github`,...

Closing this, as the same functionality can be reached using `shell` in combination with a parameter for the script with `workflow.source_path("path/to/script")` see [docs](https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#accessing-auxiliary-source-files)