-
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
--singularity-args quotes not propagated to cluster job script #2872
Labels
bug
Something isn't working
Comments
Likely a duplicate of #2808. |
dkoppstein
pushed a commit
to dkoppstein/snakemake
that referenced
this issue
May 14, 2024
…ts are quoted
2 tasks
dkoppstein
pushed a commit
to dkoppstein/snakemake
that referenced
this issue
May 14, 2024
…ts are quoted
2 tasks
johanneskoester
added a commit
that referenced
this issue
May 27, 2024
…d jobs (#2898) Fixes #2808 and #2872 by using base64 encoding when passing apptainer args to spawned jobs. ### QC <!-- Make sure that you can tick the boxes below. --> * [x] The PR contains a test case for the changes or the changes are already covered by an existing test case. * [x] The documentation (`docs/`) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Snakemake version
8.11.3
Also using:
Describe the bug
When running snakemake with e.g.
--use-singularity --profile lsf_plugin --singularity-args "-B /tmp,/home/david"
, the quotes around--singularity-args
are interpreted correctly by the first call of snakemake but do not get passed on to the cluster job script. Therefore, the submitted job looks like--use-singularity --singularity-args -B /tmp,/home/david
and gives__main__.py: error: argument --apptainer-args/--singularity-args: expected one argument
.Logs
Minimal example
Snakefile:
test.sh:
Additional context
Setup the lsf plugin with the following config.yaml:
The text was updated successfully, but these errors were encountered: