Skip to content

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

Merged
pinin4fjords merged 9 commits into
devfrom
fix/pr1717-code-quality
Feb 27, 2026
Merged

refactor: code quality improvements from PR #1717 review#1735
pinin4fjords merged 9 commits into
devfrom
fix/pr1717-code-quality

Conversation

@pinin4fjords
Copy link
Copy Markdown
Member

@pinin4fjords pinin4fjords commented Feb 27, 2026

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
  • Clean up GPU CI workflow (nf-test-gpu.yml):
    • Remove redundant workflow-level NXF_VER env var (overridden by job-level matrix)

Test plan

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

🤖 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 #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 #1730.

Addresses review feedback from @adamrtalbot in PR #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.

Comment thread .github/workflows/nf-test-gpu.yml Outdated
pinin4fjords and others added 3 commits February 27, 2026 12:03
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
GPU runners are expensive - just test minimum version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 27, 2026

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 4ce1a57

+| ✅ 202 tests passed       |+
#| ❔   9 tests were ignored |#
#| ❔   1 tests had warnings |#
!| ❗   9 tests had warnings |!
Details

❗ Test warnings:

  • files_exist - File not found: assets/multiqc_config.yml
  • nextflow_config - Config manifest.version should end in dev: 3.23.0
  • pipeline_todos - TODO string in nextflow.config: Specify any additional parameters here
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline
  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!

❔ Tests ignored:

❔ Tests fixed:

✅ Tests passed:

Run details

  • nf-core/tools version 3.5.1
  • Run at 2026-02-27 12:15:26

Comment thread workflows/rnaseq/main.nf Outdated
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pinin4fjords pinin4fjords merged commit 15f75cf into dev Feb 27, 2026
80 of 81 checks passed
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.

4 participants