Skip to content

Convert to Nextflow strict syntax#5

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/convert-script-to-strict-syntax
Draft

Convert to Nextflow strict syntax#5
Copilot wants to merge 2 commits intomainfrom
copilot/convert-script-to-strict-syntax

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 22, 2026

Nextflow strict syntax requires explicit parentheses on all method calls. Two violations in main.nf prevented strict mode compilation.

Changes

  • Channel.fromPath 'welcome.txt'Channel.fromPath('welcome.txt')
  • splitText | viewsplitText() | view()
- SAYHELLOINSEVERALLANGUAGES(Channel.fromPath 'welcome.txt')
- SAYHELLOINSEVERALLANGUAGES.out | splitText | view
+ SAYHELLOINSEVERALLANGUAGES(Channel.fromPath('welcome.txt'))
+ SAYHELLOINSEVERALLANGUAGES.out | splitText() | view()

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.nextflow.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Can you convert this Nextflow script to the strict syntax defined here https://www.nextflow.io/docs/latest/reference/syntax.html#syntax-page?

The user has attached the following files from their workspace:

  • main.nf

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: manuelesimi <2822686+manuelesimi@users.noreply.github.com>
Copilot AI changed the title [WIP] Convert Nextflow script to strict syntax Convert to Nextflow strict syntax Jan 22, 2026
Copilot AI requested a review from manuelesimi January 22, 2026 03:58
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