Repository navigation
docs: drop stale diann_extra_args references (use extra_args) - #109
Conversation
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 reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
What
Remove the last lingering references to the
diann_extra_argsparameter, which was renamed toextra_argsbut never fully cleaned up.docs/usage.md: the worked example still setdiann_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 toextra_args.conf/modules/dia.config: removed the stale "(formerly params.diann_extra_args)" note.CHANGELOG.md: documented the cleanup.Why
diann_extra_argsis not a functional parameter anymore (the codebase usesparams.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 passingdiann_extra_argsnow 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_argsitself. Separate from #108 (which adds the dedicatedstrip_unknown_modsparameter and intentionally does not route throughextra_args).