-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
- snakedeploy version: 0.8.6
- Python version: 3.10.4
- Operating System: Windows 10
Description
I created a snake deploy for atn-sub-lfp-workflow, which I am in the progress of trying to finalise. For some reason, the generated Snakefile from the deploy has a path to a non-existant github file due to a \ rather than a /.
What I Did
Since my own repository is under development, I tried on another repository and got the same problem:
snakedeploy deploy-workflow https://github.com/snakemake-workflows/rna-seq-star-deseq2 . --tag v1.2.0
snakemake --list
WorkflowError in line 19 of D:\SnakeTest\OtherTest\workflow\Snakefile:
Failed to open source file https://github.com/snakemake-workflows/rna-seq-star-deseq2/raw/v1.2.0/workflow\Snakefile
HTTPError: 404 Client Error: Not Found for url: https://github.com/snakemake-workflows/rna-seq-star-deseq2/raw/v1.2.0/workflow%5CSnakefile
File "D:\SnakeTest\OtherTest\workflow\Snakefile", line 19, in <module>
File "E:\ProgramFiles\Mambaforge\envs\snakemake\lib\site-packages\retry\api.py", line 101, in retry_call
File "E:\ProgramFiles\Mambaforge\envs\snakemake\lib\site-packages\retry\api.py", line 33, in __retry_internal
Generated snakefile:
from snakemake.utils import min_version
min_version("6.10.0")
configfile: "config/config.yaml"
# declare https://github.com/seankmartin/atn-sub-lfp-workflow as a module
module atn_sub_lfp_workflow:
snakefile:
github("seankmartin/atn-sub-lfp-workflow", path="workflow/Snakefile", tag="23.02.0")
config:
config
# use all rules from https://github.com/seankmartin/atn-sub-lfp-workflow
use rule * from atn_sub_lfp_workflow
Changing the generated Snakefile to have path="workflow\Snakefile" over path="workflow/Snakefile" fixes the error.
Metadata
Metadata
Assignees
Labels
No labels