8000 Migrate `universc` to nf-test by LouisLeNezet · Pull Request #8564 · nf-core/modules · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

8000
Merged
merged 14 commits into from
May 29, 2025
Merged

Conversation

LouisLeNezet
Copy link
Contributor

PR checklist

Closes #7714
Closes #8478

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Emit the versions.yml file.
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

@LouisLeNezet LouisLeNezet mentioned this pull request May 28, 2025
17 tasks
@LouisLeNezet LouisLeNezet requested a review from SPPearce May 29, 2025 11:10
Copy link
Contributor
@SPPearce SPPearce left a 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.

Comment on lines +6 to +13
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"
: ''
Copy link
Contributor

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.

Copy link
Contributor

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 ;)

Copy link
Contributor Author

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 😞

@github-project-automation github-project-automation bot moved this from Todo to In Progress in nf-test Migration May 29, 2025
@LouisLeNezet LouisLeNezet requested a review from SPPearce May 29, 2025 14:14
@LouisLeNezet LouisLeNezet added this pull request to the merge queue May 29, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 29, 2025
@LouisLeNezet LouisLeNezet added this pull request to the merge queue May 29, 2025
Merged via the queue into nf-core:master with commit 6c8ebcb May 29, 2025
21 checks passed
@LouisLeNezet LouisLeNezet deleted the universc branch May 29, 2025 14:42
@github-project-automation github-project-automation bot moved this from In Progress to Done in nf-test Migration May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

nf-test migration: universc
2 participants
0