Skip to content

docs: drop stale diann_extra_args references (use extra_args) - #109

Merged
ypriverol merged 1 commit into
devfrom
fix/drop-diann-extra-args
Jun 10, 2026
Merged

ypriverol merged 1 commit into
devfrom
fix/drop-diann-extra-args

Conversation

@ypriverol

Copy link
Copy Markdown
Contributor

What

Remove the last lingering references to the diann_extra_args parameter, which was renamed to extra_args but never fully cleaned up.

  • docs/usage.md: the worked example still set diann_extra_args: "--smart-profiling --peak-center". The pipeline no longer reads that name, so it is silently ignored — users copying the example lose those flags with no error. Updated to extra_args.
  • conf/modules/dia.config: removed the stale "(formerly params.diann_extra_args)" note.
  • CHANGELOG.md: documented the cleanup.

Why

diann_extra_args is not a functional parameter anymore (the codebase uses params.extra_args). Its only remaining traces were documentation/comments that actively mislead — teaching a name that does nothing. Keeping a single canonical name (extra_args) avoids that trap.

Note: this is a clean drop, not a deprecation alias. Since the pipeline uses nf-schema validateParameters(), anyone still passing diann_extra_args now gets an unrecognised parameter warning at startup, rather than the previous "valid-looking but no-op" behaviour. If preferred, a deprecation alias (diann_extra_args → extra_args + warning) could be added instead — happy to switch.

Scope

Docs/comment only; no behaviour change to extra_args itself. Separate from #108 (which adds the dedicated strip_unknown_mods parameter and intentionally does not route through extra_args).

The parameter was renamed to 'extra_args', but the worked example in
docs/usage.md still used the old 'diann_extra_args' name. That name is no
longer read by the pipeline, so it is silently ignored — flags like
--smart-profiling/--peak-center were dropped without warning. Update the
example to 'extra_args' and remove the lingering 'formerly diann_extra_args'
note from conf/modules/dia.config. Passing 'diann_extra_args' is now flagged
by nf-schema as an unrecognised parameter rather than silently doing nothing.
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1b04ae42-0007-4e44-bcfa-1316fa872ef8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/drop-diann-extra-args

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Jun 10, 2026 •

Copy link
Copy Markdown

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

Posted for pipeline commit a2b8d48

+| ✅ 108 tests passed       |+
#| ❔  18 tests were ignored |#
#| ❔   1 tests had warnings |#
!| ❗   4 tests had warnings |!
Details

❗ Test warnings:

  • files_exist - File not found: conf/igenomes.config
  • files_exist - File not found: conf/igenomes_ignored.config
  • files_exist - File not found: .github/workflows/awstest.yml
  • files_exist - File not found: .github/workflows/awsfulltest.yml

❔ Tests ignored:

❔ Tests fixed:

✅ Tests passed:

Run details

  • nf-core/tools version 4.0.2
  • Run at 2026-06-10 08:05:30

@ypriverol
ypriverol merged commit c9f974d into dev Jun 10, 2026
10 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.

1 participant