-
Notifications
You must be signed in to change notification settings - Fork 25
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 docker container permissions for ms2rescore #302
Conversation
|
conf/modules.config
Outdated
@@ -157,6 +157,7 @@ process { | |||
} | |||
|
|||
withName: 'MS2RESCORE' { | |||
containerOptions = '-u $(id -u) -e "HOME=${HOME}" -v $HOME:$HOME' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work like this or does it need to be process.containerOptions
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
process.containerOptions
works only in the nextflow.config
I oriented myself by Julia's fix: nf-core/tools#2673
By this we can define container options on module level, that is not possible with runOptions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And: The MS2Rescore container needed a specific "treatment" in order to run, else permission issues. Previously that was handled by userEmulation
, but that is/will be removed :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok so this works when having sudo rights, but apparently not via GH actions.. Im gonna test the full diff compared to userEmulation
To fix lints we need to wait for the newest template update. Conversation: https://nfcore.slack.com/archives/CE6PELWR4/p1705931019545439?thread_ts=1705482353.145949&cid=CE6PELWR4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).