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

Make task.ext assigments closures #96

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

fbdtemme
Copy link
Collaborator

Description

Make all task.ext assigments closures.
When people pass params in seperate config files the results can be very unintuitive and depends on the order of config file evaluation. Delaying the creation of additional commandline options with closures works around this.

PR checklist

  • 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 pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/pixelator branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@fbdtemme fbdtemme requested a review from ambarrio June 14, 2024 14:17
@fbdtemme fbdtemme changed the title Fix/make task ext closures Make task.ext assigments closures Jun 14, 2024
Copy link

github-actions bot commented Jun 14, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit ccb35d0

+| ✅ 202 tests passed       |+
#| ❔   3 tests were ignored |#
!| ❗   3 tests had warnings |!

❗ Test warnings:

  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.14.1
  • Run at 2024-06-14 14:18:26

Copy link
Collaborator

@ambarrio ambarrio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a small comment. I guess we set up date when we merge to main.

CHANGELOG.md Show resolved Hide resolved
@fbdtemme fbdtemme merged commit 27c8743 into nf-core:dev Jun 17, 2024
4 checks passed
@fbdtemme fbdtemme mentioned this pull request Jul 15, 2024
@fbdtemme fbdtemme deleted the fix/make-task-ext-closures branch December 10, 2024 14:15
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.

2 participants