-
Notifications
You must be signed in to change notification settings - Fork 861
Migrate universc
to nf-test
#8564
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
Conversation
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.
The nf-test conversion is fine.
The module doesn't really conform to some of our current standards with its meta map requirements, but going to ignore that for now.
containerOptions { | ||
['singularity', 'apptainer'].contains(workflow.containerEngine) | ||
? "-B /var/tmp --writable-tmpfs" | ||
: workflow.containerEngine == 'docker' | ||
? "--privileged" | ||
: workflow.containerEngine == 'podman' | ||
? "--runtime crun --userns=keep-id --systemd=always" | ||
: '' |
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.
I don't really like this to be honest, I think it was clearer as individual if statements.
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.
Also I don't think we should be having to be set all these to get it to run, but not the issue at hand here ;)
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.
It was to remove the big red flag with nextflow compiler
I'm not sure either that this is needed. But I can't test it 😞
PR checklist
Closes #7714
Closes #8478
versions.yml
file.label
nf-core modules test <MODULE> --profile docker
nf-core modules test <MODULE> --profile singularity
nf-core modules test <MODULE> --profile conda
nf-core subworkflows test <SUBWORKFLOW> --profile docker
nf-core subworkflows test <SUBWORKFLOW> --profile singularity
nf-core subworkflows test <SUBWORKFLOW> --profile conda