Skip to content

Conversation

@jonasscheid
Copy link
Collaborator

@jonasscheid jonasscheid commented Jan 8, 2026

Merge after #429

Nf-core module topic channel merge should be the next step. I did migrate to topic channels in pipeline nf-core modules for consistency reasons.

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/mhcquant 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 Jan 8, 2026

nf-core pipelines lint overall result: Failed ❌

Posted for pipeline commit f859ec4

+| ✅ 295 tests passed       |+
#| ❔   1 tests were ignored |#
!| ❗   3 tests had warnings |!
-| ❌   1 tests failed       |-
Details

❌ Test failures:

❗ Test warnings:

  • files_exist - File not found: conf/igenomes.config
  • files_exist - File not found: conf/igenomes_ignored.config
  • pipeline_todos - TODO string in nextflow.config: Specify any additional parameters here

❔ Tests ignored:

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

✅ Tests passed:

Run details

  • nf-core/tools version 3.5.1
  • Run at 2026-01-09 10:26:40

Updated CHANGELOG for version 3.2.0 with changes and dependency updates.
Copy link
Contributor

Copilot AI commented Jan 9, 2026

@jonasscheid I've opened a new pull request, #433, to work on those changes. Once the pull request is ready, I'll request review from you.

@jonasscheid jonasscheid changed the title Migrate to topic channels Migrate to topic channels for versions Jan 9, 2026
Copy link

@Joon-Klaps Joon-Klaps left a comment

Choose a reason for hiding this comment

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

Not 100% certain if everything went ok with template merge.

Think you might to fix of couple stuff first before the linter will be happy.

tuple val(meta), path("*.psmpkl") , emit: psmpkl
tuple val(meta), path("*.peakpkl"), emit: peakpkl
path "versions.yml" , emit: versions
tuple val("${task.process}"), val('easypqp'), eval("easypqp --version 2>&1 | grep -oP '(?<=easypqp, version )\\d+\\.\\d+\\.\\d+'"), emit: versions, topic: versions

Choose a reason for hiding this comment

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

Are you sure you want to create a topic and emit variable with the same name. I think it's the first time I see this, typically it's convert_versions.

Choose a reason for hiding this comment

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

Same goes for all other files migrations

script:
def prefix = task.ext.prefix ?: "${meta.id}_resolved"

Choose a reason for hiding this comment

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

Suggested change

"""
IDConflictResolver \\
-in $consensus \\
IDConflictResolver -in $consensus \\

Choose a reason for hiding this comment

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

intentional?

def args = task.ext.args ?: ''
def out_names = idxmls.collect { it.baseName.replace('_fdr_filtered','')+'.trafoXML' }.join(' ')

Choose a reason for hiding this comment

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

Suggested change

Choose a reason for hiding this comment

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

How did those pass linting?

Choose a reason for hiding this comment

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

You have them in quite a few files, double check if this is inetentional that you add an empty line with just spaces in them.

Choose a reason for hiding this comment

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

I see you also updated a lot of nf-core modules. Think it would be best if you patched them as well in nf-core/modules repo themselves.

Did it pass linting given that all md5sums will be different for these modules

// Raw file conversion
THERMORAWFILEPARSER(branched_ms_files.raw)
ch_versions = ch_versions.mix(THERMORAWFILEPARSER.out.versions)
// ch_versions = ch_versions.mix(THERMORAWFILEPARSER.out.versions)

Choose a reason for hiding this comment

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

think u forgot this one

Choose a reason for hiding this comment

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

Did you forgot to delete them?

Choose a reason for hiding this comment

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

same here

PREPARE_SPECTRA(ch_samplesheet)
ch_versions = ch_versions.mix(PREPARE_SPECTRA.out.versions)

// Decoy Database creation

Choose a reason for hiding this comment

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

woops duplicate line, also i see some commented out lines that can be removed

Suggested change
// Decoy Database creation

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.

4 participants