Skip to content

feat(islandpath): migrate to topic: versions tuple#11435

Merged
HReed1 merged 2 commits into
nf-core:masterfrom
HReed1:stub-topics-islandpath
May 18, 2026
Merged

feat(islandpath): migrate to topic: versions tuple#11435
HReed1 merged 2 commits into
nf-core:masterfrom
HReed1:stub-topics-islandpath

Conversation

@HReed1
Copy link
Copy Markdown
Contributor

@HReed1 HReed1 commented Apr 30, 2026

Fixes #11323

Migrates the islandpath module to use the standardized topic: versions channel tuple emission, removes legacy versions.yml generation, and incorporates strict-syntax validations.

@HReed1
Copy link
Copy Markdown
Contributor Author

HReed1 commented Apr 30, 2026

@nf-core-bot fix linting

Comment thread modules/nf-core/islandpath/main.nf Outdated
prefix = task.ext.prefix ?: "${meta.id}"
// WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
def VERSION = '1.0.6'
VERSION = '1.0.6'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
VERSION = '1.0.6'

Comment thread modules/nf-core/islandpath/main.nf
Comment thread modules/nf-core/islandpath/main.nf Outdated
Comment on lines +22 to +23
args = task.ext.args ?: ''
prefix = task.ext.prefix ?: "${meta.id}"
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.

These should still be def, don't know why you are changing this here.

@HReed1 HReed1 force-pushed the stub-topics-islandpath branch from 44c26c3 to ea3dc9a Compare May 4, 2026 05:48
@HReed1
Copy link
Copy Markdown
Contributor Author

HReed1 commented May 4, 2026

Hey @SPPearce and @mribeirodantas — thanks for the reviews!

I've pushed the fixes for both of your notes:

  1. Restored def keywords: The Groovy variable assignments (def args, def prefix) in the script blocks have been correctly restored to match upstream parity.
  2. Tuple Comment Relocation: I moved the WARN: Version information... comment directly above the versions_islandpath tuple emission as requested, and completely removed the unused def VERSION variable from the script block.

Let me know if we are good to go!

@HReed1 HReed1 enabled auto-merge May 4, 2026 06:36
Comment thread modules/nf-core/islandpath/meta.yml Outdated
Comment on lines +59 to +64
- '"1.0.6"':
type: string
description: The expression to obtain the version of the tool
1.0.6:
type: string
description: The expression to obtain the version of the tool
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.

These don't need to be duplicated.

Comment thread modules/nf-core/islandpath/meta.yml Outdated
- '"1.0.6"':
type: string
description: The expression to obtain the version of the tool
1.0.6:
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.

And here.

Comment thread modules/nf-core/islandpath/main.nf Outdated
tuple val(meta), path("*.gff") , emit: gff
path "Dimob.log" , emit: log
path "versions.yml" , emit: versions
// WARN: Version information not provided by tool on CLI. Please update this string when bumping container 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.

Personally I think this is best above, on the line above the conda instruction.

- Replace versions.yml with val() topic: versions emission
- Place // WARN: comment above conda directive
- Add stub block for gff and log outputs
- Add stub test with sanitizeOutput assertions
- Migrate script test to findAll versions pattern
- Remove // meta map comments from test inputs
- Regenerate meta.yml, remove legacy versions output
@HReed1 HReed1 force-pushed the stub-topics-islandpath branch from afa4a3b to f1e13ec Compare May 15, 2026 04:26
@HReed1
Copy link
Copy Markdown
Contributor Author

HReed1 commented May 15, 2026

Hi @SPPearce @mribeirodantas — thanks for the thorough reviews! I've rebased against master and addressed all feedback in a single squashed commit:

// WARN: placement — moved above the conda directive ✅
def keywords — preserved on all variable declarations, no out-of-scope changes ✅
meta.yml duplication — removed the duplicate versions_islandpath entry. The remaining output.versions_islandpath + topics.versions blocks are distinct keys generated by nf-core lint --fix ✅
Blank line cleanup — removed ✅
Stub test added with sanitizeOutput assertions ✅
All CI profiles passing. Let me know if anything else needs attention!

@HReed1 HReed1 added this pull request to the merge queue May 18, 2026
Merged via the queue into nf-core:master with commit da1f59b May 18, 2026
23 checks passed
@HReed1 HReed1 deleted the stub-topics-islandpath branch May 18, 2026 12:30
manascripts pushed a commit to manascripts/modules that referenced this pull request May 21, 2026
feat(islandpath): migrate to topic: versions, add stub block
- Replace versions.yml with val() topic: versions emission
- Place // WARN: comment above conda directive
- Add stub block for gff and log outputs
- Add stub test with sanitizeOutput assertions
- Migrate script test to findAll versions pattern
- Remove // meta map comments from test inputs
- Regenerate meta.yml, remove legacy versions output
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