Update mygene: topic versions, stub block, sanitizeOutput#11441
Open
HReed1 wants to merge 7 commits intonf-core:masterfrom
Open
Update mygene: topic versions, stub block, sanitizeOutput#11441HReed1 wants to merge 7 commits intonf-core:masterfrom
HReed1 wants to merge 7 commits intonf-core:masterfrom
Conversation
| tuple val(meta), path("*.gmt"), emit: gmt | ||
| tuple val(meta), path("*.tsv"), emit: tsv , optional: true | ||
| path "versions.yml" , emit: versions | ||
| path "versions.yml" , emit: versions_mygene, topic: versions |
mribeirodantas
requested changes
Apr 30, 2026
Member
mribeirodantas
left a comment
There was a problem hiding this comment.
mygene version is missing in teh snapshot file
…te snapshots - main.nf: rename emit: versions to emit: versions_mygene per nf-core convention - meta.yml: rename output key versions: to versions_mygene: to match emit name - tests/main.nf.test: update all assertions to process.out.versions_mygene[0] - tests/main.nf.test.snap: regenerate all 5 snapshots with versions_mygene channel Addresses review feedback from mribeirodantas on PR nf-core#11441.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR checklist
--profile docker,wavetests.nf-core modules lint).nf-test test).Description of changes
Migrates the mygene module to the nf-core v4.0.1 architecture:
path "versions.yml", topic: versionsemission. Note:mygeneuses a Pythontemplatescript, which prevents using theeval()tuple pattern (Nextflow blockseval()for non-Bash interpreters). The Python template generatesversions.ymlnatively, consistent withcellranger/count.stub:block that creates dummy output files and generatesversions.ymlvia bash.sanitizeOutput(process.out)per nf-test best practices.output: versions_mygeneandtopics: versionssections.Part of the v4.0.1 standardization effort tracked in #11323.
Part of #4570