fix: address remaining PR #176 review comments - #187
Merged
ljwharbers merged 1 commit intoSep 2, 2026
Conversation
Two nits from the Copilot review threads on #176 that were still real: - README: "a `multiqc` report from that combines" dropped the stray "from", and "one html report" -> "one HTML report". - LRSOMATICREPORT: quote the interpolated paths in the script block. The `Rscript` invocation passed report_src, the sample id, the sex and the output filename unquoted, so a projectDir or sample id containing a space would word-split; the flat-input symlink loop had the same shape. ${args} stays unquoted -- it is a pre-built argument string that already quotes each `--gene-panel` value in conf/modules.config. No output or version changes, so no snapshots move. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
ljwharbers
merged commit Sep 2, 2026
3d454bf
into
worktree-lrsomatic-report-module
4 of 6 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes out the two review threads on #176 that still pointed at something real in the code. Everything else open on that PR was either already fixed (the threads just never got resolved) or factually wrong — see the audit note posted on #176.
README.md:107— "amultiqcreport from that combines the output frommosdepthandsamtoolsinto one html report" → drops the stray "from" and capitalises HTML. Flagged three times on Add LRSOMATICREPORT as the final pipeline step #176 (r3880745421, plus twice as a suppressed comment).modules/local/lrsomaticreport/main.nf— quote the interpolated paths in the script block (r3880745383). TheRscriptinvocation passedreport_src, the sample id, the sex and the output filename unquoted, so aprojectDiror sample id containing a space would word-split; the flat-input symlink loop had the same shape.${args}deliberately stays unquoted — it is a pre-built argument string, and each--gene-panelvalue is already quoted where it is assembled inconf/modules.config.Test plan
nextflow lint modules/local/lrsomaticreport/main.nf— cleanpre-commit run --files README.md modules/local/lrsomaticreport/main.nf— cleannf-test test modules/local/lrsomaticreport/tests/main.nf.test --profile singularity— all 4 tests pass (stub, real render, gene-panel render, multi-panel render), no snapshot changesThe real-render test asserts the rendered HTML contains
TP53, which can only get there through thelink_flatsymlink loop, so the quoted loop is verified end to end rather than just parsed.🤖 Generated with Claude Code