Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Fixed version reporting by ensure all modules are represented in final version.yml for MultiQC#852

Merged
jfy133 merged 16 commits intodevfrom
fix-version-linting
Aug 25, 2025
Merged

Fixed version reporting by ensure all modules are represented in final version.yml for MultiQC#852
jfy133 merged 16 commits intodevfrom
fix-version-linting

Conversation

@jfy133
Copy link
Member

@jfy133 jfy133 commented Aug 22, 2025

Closes #761

  • Add missings .mix(XXX.out.versions) where necessary
  • Add missing HEREDOCs in lcoa lmodules missing module versions.yml generation
  • Fixes missing first() on modules
  • Moves all version missing next to each module/subworkflow for consistency and better checking during reviewign
  • Nextflow-autoformatting

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/mag branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines 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).

@github-actions
Copy link

github-actions bot commented Aug 22, 2025

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 2fa3ac8

+| ✅ 363 tests passed       |+
#| ❔   1 tests were ignored |#
!| ❗   6 tests had warnings |!
Details

❗ Test warnings:

  • pipeline_todos - TODO string in main.nf: Remove this line if you don't need a FASTA file [TODO: try and test using for --host_fasta and --host_genome]
  • 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!
  • pipeline_todos - TODO string in nextflow.config: Specify any additional parameters here
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md

✅ Tests passed:

Run details

  • nf-core/tools version 3.3.2
  • Run at 2025-08-25 18:48:20

Copy link
Contributor

@prototaxites prototaxites left a comment

Choose a reason for hiding this comment

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

Looks good! A few places where using .first() will likely produce a warning and should be removed? The rest are optional, though I would not be very concerned about the overhead of running .unique() personally.

Otherwise a couple of minor optional style things.

@jfy133 jfy133 requested a review from prototaxites August 22, 2025 12:30
@jfy133
Copy link
Member Author

jfy133 commented Aug 22, 2025

OK all .first() removed, but I had to revert the ternary to if/else change because the nextflow autoformatter would remove the mode: bit breaking the operator... I don't know why... it's ugly but it's there

@prototaxites
Copy link
Contributor

did you do it via sed? You've stripped .versions.first() rather than just .first()?

@jfy133
Copy link
Member Author

jfy133 commented Aug 22, 2025

So I think it's all working now @prototaxites !

I need to update the snapshots of each rest profile hwihc is going to take a looooooooooooooong time...

So maybe you can do one more pass before I start updating those?

Copy link
Contributor

@prototaxites prototaxites left a comment

Choose a reason for hiding this comment

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

A few minor persnickety Harshill alignments if you can be bothered to fix them.

Otherwise looks good, happy to merge once you've done the snapshots!

@jfy133 jfy133 merged commit d349d5f into dev Aug 25, 2025
13 checks passed
@dialvarezs dialvarezs deleted the fix-version-linting branch November 21, 2025 11:36
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.

3 participants