You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unused params, single-emit names, and projectDir-in-process
Replaces deprecated `Channel.*` factory calls with lowercase `channel.*`
across 9 files, declares explicit closure parameters in place of implicit
`it` (sc_to_bulk.nf, singlecell.nf), and prefixes unused branch/map closure
parameters with `_` in pseudobulk_qc.nf.
Removes the emit name on three subworkflows with a single output
(COMPARE.shared_cdr3, CONVERT.sample_map_converted, REPORT.rendered_html)
and updates every call site accordingly (bulktcr_analysis.nf, tcrtoolkit.nf).
CONVERT's conditional assignment is restructured using the ternary-in-emit
idiom already established in patient.nf, since its emit couldn't just drop
a name while remaining a plain if/else-assigned variable.
Fixes cluster_to_sc.nf's discouraged `${projectDir}/bin/...` reference by
invoking enrich_seurat.R by bare name instead - it already carries the same
shebang and executable bit as every Python script in bin/, so Nextflow's
automatic bin/-on-PATH staging resolves it exactly like the rest of the
pipeline's scripts, without adding a new process input.
Also drops an unused `def sample_stats_agg =` binding in sample.nf, keeping
the collectFile/storeDir call for its file-publishing side effect.
Warnings: 48 -> 4 (remaining 4 are linter false positives: sample_map/
concat_cdr3 are read via bare `emit:` references, which the linter's
"declared but not used" check doesn't detect as usage).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments