Skip to content
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

fix: #2808 and #2872 by ensuring apptainer arguments are quoted #2876

Closed
wants to merge 1 commit into from

Conversation

dkoppstein
Copy link
Contributor

Fixes #2808 and #2872 by creating a separate variable for apptainer arguments and uses the formal_cli_value function to ensure that the arguments are always quoted when passed to an executor.

QC

  • The PR contains a test case for the changes or the changes are already covered by an existing test case.
  • 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).

Copy link

sonarcloud bot commented May 14, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@fgvieira fgvieira changed the title Fixes #2808 and #2872 by ensuring apptainer arguments are quoted fix: #2808 and #2872 by ensuring apptainer arguments are quoted May 22, 2024
@johanneskoester
Copy link
Contributor

Thanks for reporting and prototyping a solution! There is a simpler fix using base64 encoding of passed args. Done in PR #2898.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snakemake 8.9.0 on a singularity slurm cluster combination error
2 participants