-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
archive cli docs inconsistent with code #2877
Comments
I had a look into this to see if it might be an easy fix. The error is actually being thrown by a different part of the code DAG.archive():
From that, it looks like the supported formats match those reported via argparse. I tried to recreate the issue, but archiving to .tar.gz works fine on my system (windows 10, python 3.12). There may be nothing to fix here, or there may be something else in OPs setup that's causing the issue. |
Snakemake version
8.11.3
Describe the bug
snakemake --archive filename.tar.gz, returns error
Additional context
From the codebase it looks like only .tar and .xz extensions are allowed
snakemake/snakemake/workflow.py
Line 315 in e7cb7fb
snakemake/snakemake/cli.py
Line 1080 in e7cb7fb
It would be nice if snakemake would support tar.gz archive files again but at minimum the cli help docs and error message should be consistent with the codebase.
The text was updated successfully, but these errors were encountered: