Skip to content

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

Open
HReed1 wants to merge 3 commits intonf-core:masterfrom
HReed1:stub-topics-islandpath
Open

feat(islandpath): migrate to topic: versions tuple#11435
HReed1 wants to merge 3 commits intonf-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 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.

- '"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.

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.

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