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: set singularity bind paths #119

Merged
merged 18 commits into from
Oct 17, 2024
Merged

fix: set singularity bind paths #119

merged 18 commits into from
Oct 17, 2024

Conversation

kelly-sovacool
Copy link
Member

@kelly-sovacool kelly-sovacool commented Oct 9, 2024

Changes

singularity bind paths had an extra trailing quote due to the get_singularity_binds() function, which caused rules to fail while loading the singularity container.

additionally, including the full /lscratch/$SLURM_JOB_ID caused jobs to fail because $SLURM_JOB_ID resolved to the main job's ID, rather than the individual job ID.

this adapts code from RENEE for resolving the bind paths for singularity.

Issues

also resolves #120

PR Checklist

(Strikethrough any points that are not applicable.)

  • This comment contains a description of changes with justifications, with any relevant issues linked.
  • [ ] Update docs if there are any API changes.
  • Update CHANGELOG.md with a short description of any user-facing changes and reference the PR number. Guidelines: https://keepachangelog.com/en/1.1.0/

@kelly-sovacool kelly-sovacool changed the title fix: remove extra quotes from sing binds fix: set singularity bind paths Oct 10, 2024
@kelly-sovacool kelly-sovacool added the bug Something isn't working label Oct 10, 2024
@kelly-sovacool kelly-sovacool added this to the 2024-10 milestone Oct 16, 2024
@kelly-sovacool kelly-sovacool merged commit c601d81 into main Oct 17, 2024
1 check passed
@kelly-sovacool kelly-sovacool deleted the fix-binds branch October 17, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ccbrpipeliner/7
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clashing python libraries in singularity containers and ccbrpipeliner module
1 participant