Migrate the plink/indeppairwise module to use topic channels for version outputs.
Sub-issue of #10439
Changes needed
- Update
modules/nf-core/plink/indeppairwise/main.nf: replace path "versions.yml", emit: versions with tuple val("${task.process}"), val('plink'), eval("plink --version 2>&1 | sed 's/^PLINK v//;s/ 64.*//'"), emit: versions_plink, topic: versions and remove the cat <<-END_VERSIONS block from script and stub sections
- Update
modules/nf-core/plink/indeppairwise/meta.yml: update the versions output section and add a topics: section
- Update test snapshots: run
nf-core modules test --update --once plink/indeppairwise
Follow the migration guide: https://nf-co.re/docs/tutorials/migrate_to_topics/update_modules
Migrate the
plink/indeppairwisemodule to use topic channels for version outputs.Sub-issue of #10439
Changes needed
modules/nf-core/plink/indeppairwise/main.nf: replacepath "versions.yml", emit: versionswithtuple val("${task.process}"), val('plink'), eval("plink --version 2>&1 | sed 's/^PLINK v//;s/ 64.*//'"), emit: versions_plink, topic: versionsand remove thecat <<-END_VERSIONSblock from script and stub sectionsmodules/nf-core/plink/indeppairwise/meta.yml: update theversionsoutput section and add atopics:sectionnf-core modules test --update --once plink/indeppairwiseFollow the migration guide: https://nf-co.re/docs/tutorials/migrate_to_topics/update_modules