Describe the bug
In params, I have the following line to specify that the config file for multiqc is in the following location (which is specified relative to where the Snakefile is located):
config = workflow.source_path("tools/multiqc_config.yaml")
However, workflow.source_path does not work as expected, an error is thrown (see below)
LogsError: Invalid value for '-c' / '--config': Path '/home/bla/.cache/snakemake/snakemake/source-cache/runtime-cache/tmpoe2bb5nk/file/{full_path}/tools/multiqc_config.yaml' does not exist.
Here, I replaced the beginning of the full path with {full_path}.
Does it work differently than what I expected and understood from the documentation?
Snakemake version 7.24
Describe the bug In params, I have the following line to specify that the config file for multiqc is in the following location (which is specified relative to where the Snakefile is located):
config = workflow.source_path("tools/multiqc_config.yaml")
However, workflow.source_path does not work as expected, an error is thrown (see below)
Logs
Error: Invalid value for '-c' / '--config': Path '/home/bla/.cache/snakemake/snakemake/source-cache/runtime-cache/tmpoe2bb5nk/file/{full_path}/tools/multiqc_config.yaml' does not exist.
Here, I replaced the beginning of the full path with {full_path}.
Does it work differently than what I expected and understood from the documentation?