Skip to content

Migrate ssuissero to topic channel versions and add stub block#11403

Merged
HReed1 merged 4 commits into
nf-core:masterfrom
HReed1:stub-topics-ssuissero
May 17, 2026
Merged

Migrate ssuissero to topic channel versions and add stub block#11403
HReed1 merged 4 commits into
nf-core:masterfrom
HReed1:stub-topics-ssuissero

Conversation

@HReed1
Copy link
Copy Markdown
Contributor

@HReed1 HReed1 commented Apr 29, 2026

Description

Migrates the ssuissero module to the new stub+topic channel architecture.

Changes

  • Converted versions.yml output to topic channel (versions_ssuissero) using hardcoded version (1.0.1) since the tool lacks a CLI version flag
  • Removed END_VERSIONS heredoc from script block
  • Added stub: block
  • Updated tests to use sanitizeOutput(process.out) and added stub test case
  • Removed legacy versions output block from meta.yml
  • Restored EDAM ontology comments

Contributes to #4570

- Converted versions.yml output to topic channel (versions_ssuissero)
  Uses hardcoded version (1.0.1) as tool does not provide CLI versioning
- Removed END_VERSIONS heredoc from script block
- Added stub block with touch for .tsv output
- Updated existing test to use sanitizeOutput(process.out)
- Added stub test case
- Restored EDAM ontology comment (# TSV)

Contributes to nf-core#4570
Copy link
Copy Markdown
Contributor

@SPPearce SPPearce left a comment

Choose a reason for hiding this comment

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

When the version number is fixed, it should be emitted using val instead of eval(echo )

Comment thread modules/nf-core/ssuissero/main.nf Outdated
tuple val(meta), path("*.tsv"), emit: tsv
path "versions.yml" , emit: versions
// WARN: Version information not provided by tool on CLI. Please update version string below when bumping container versions.
tuple val("${task.process}"), val('ssuissero'), eval('echo 1.0.1'), emit: versions_ssuissero, topic: versions
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
tuple val("${task.process}"), val('ssuissero'), eval('echo 1.0.1'), emit: versions_ssuissero, topic: versions
tuple val("${task.process}"), val('ssuissero'), val('1.0.1'), emit: versions_ssuissero, topic: versions

Comment thread modules/nf-core/ssuissero/meta.yml Outdated
- ssuissero:
type: string
description: The name of the tool
- echo 1.0.1:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
- echo 1.0.1:
- 1.0.1:

Comment thread modules/nf-core/ssuissero/meta.yml Outdated
- ssuissero:
type: string
description: The name of the tool
- echo 1.0.1:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
- echo 1.0.1:
- 1.0.1:

HReed1 and others added 2 commits May 14, 2026 23:27
Applies reviewer code suggestions:
- eval('echo 1.0.1') → val('1.0.1')
- Updated meta.yml version entries from eval to val type
@HReed1 HReed1 enabled auto-merge May 15, 2026 08:33
@HReed1
Copy link
Copy Markdown
Contributor Author

HReed1 commented May 15, 2026

@SPPearce — all three suggestions applied:

  • eval('echo 1.0.1')val('1.0.1') in main.nf
  • Both meta.yml version entries updated from eval type to val type

CI green across all github actions for this PR.

@HReed1 HReed1 added this pull request to the merge queue May 17, 2026
Merged via the queue into nf-core:master with commit 7e20bbf May 17, 2026
23 checks passed
@HReed1 HReed1 deleted the stub-topics-ssuissero branch May 17, 2026 14:30
manascripts pushed a commit to manascripts/modules that referenced this pull request May 21, 2026
…re#11403)

* Migrate ssuissero to topic channel versions and add stub block

- Converted versions.yml output to topic channel (versions_ssuissero)
  Uses hardcoded version (1.0.1) as tool does not provide CLI versioning
- Removed END_VERSIONS heredoc from script block
- Added stub block with touch for .tsv output
- Updated existing test to use sanitizeOutput(process.out)
- Added stub test case
- Restored EDAM ontology comment (# TSV)

Contributes to nf-core#4570

* fix(ssuissero): use val() for hardcoded version per reviewer

Applies reviewer code suggestions:
- eval('echo 1.0.1') → val('1.0.1')
- Updated meta.yml version entries from eval to val type
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