Skip to content

refactor: code quality improvements from PR #1717 review#1733

Closed
pinin4fjords wants to merge 5 commits into
nf-core:devfrom
pinin4fjords:fix/pr1717-code-quality
Closed

refactor: code quality improvements from PR #1717 review#1733
pinin4fjords wants to merge 5 commits into
nf-core:devfrom
pinin4fjords:fix/pr1717-code-quality

Conversation

@pinin4fjords
Copy link
Copy Markdown
Member

Summary

Addresses code quality feedback from @adamrtalbot's PR #1717 review:

  • Replace opaque { tuple -> tuple[1] } patterns with named destructuring ({ _meta, stats -> stats }) throughout workflows/rnaseq/main.nf for improved readability
  • Rename ch_dummy_file to ch_transcript_fasta_placeholder to clarify its purpose
  • Move assets/METRO_MAP.md to docs/dev/metro_map.md
  • Align GPU CI workflow (nf-test-gpu.yml) with other CI workflows:
    • Remove redundant workflow-level NXF_VER env var (overridden by job-level matrix)
    • Add latest-everything to NXF version matrix
    • Add continue-on-error and report step for latest-everything

Also cherry-picks PR #1730 (Nextflow 25.04.3 bump) to avoid conflicts.

Test plan

  • CI passes (no functional changes, only readability improvements and CI config alignment)

🤖 Generated with Claude Code

pinin4fjords and others added 5 commits February 27, 2026 11:41
Replace `{ tuple -> tuple[1] }` and similar patterns with named
destructuring (e.g. `{ _meta, stats -> stats }`) throughout the
main workflow for improved readability.

Also rename `ch_dummy_file` to `ch_transcript_fasta_placeholder`
to clarify its purpose as a placeholder input for quantification
subworkflows.

Addresses review feedback from @adamrtalbot in PR nf-core#1717.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove redundant workflow-level NXF_VER env var (overridden by
  matrix-level NXF_VER at the job level)
- Add latest-everything to NXF version matrix, matching nf-test.yml
  and nf-test-arm.yml
- Add continue-on-error for latest-everything and report step to
  match other CI workflows

Note: NXF version bump from 25.04.0 to 25.04.3 is handled
separately in PR nf-core#1730.

Addresses review feedback from @adamrtalbot in PR nf-core#1717.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Nextflow 25.04.0 passes the obsolete `--mkdir` flag to `conda create`,
which fails with recent conda versions. Fixed in nextflow-io/nextflow#5947.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nf-core-bot
Copy link
Copy Markdown
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.5.1.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

@pinin4fjords
Copy link
Copy Markdown
Member Author

Closing - will re-create from the main repo instead of fork.

Comment thread .github/workflows/nf-test-gpu.yml
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