Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
e8bc24a
unzip: switch to Seqera containers
adamrtalbot Nov 10, 2026
b639df0
xeniumranger: fix test closures for strict syntax
adamrtalbot Nov 10, 2026
4e9558b
qcatch: fix test closure for strict syntax, update snapshot
adamrtalbot Nov 10, 2026
3333e0a
malt/build: update snapshot
adamrtalbot Nov 10, 2026
4a07f0a
malt/run: compare sorted alignments in test
adamrtalbot Nov 10, 2026
7c79a48
cellrangeratac/count: update stub snapshot
adamrtalbot Nov 10, 2026
0001aca
qcatch: pin anndata for conda, restore x64 snapshot
adamrtalbot Nov 10, 2026
b32aca6
cellrangeratac/count: derive sample names from FASTQ names
adamrtalbot Nov 10, 2026
46ce864
ci: temporarily bump nf-test runner volume to 80gb
adamrtalbot Nov 10, 2026
d134526
qcatch: stop snapshotting report size
adamrtalbot Nov 10, 2026
8c7eeab
xeniumranger: diagnose CI hang, try lower test memory [temporary]
adamrtalbot Nov 10, 2026
6edbc3f
10x tests: cap test memory at 12 GB so mrp does not stall
adamrtalbot Nov 11, 2026
e474ecf
cellrangerarc/count: update dimensionality reduction md5s
adamrtalbot Nov 11, 2026
451e175
qcatch: rebuild container, emit anndata version, check report text
adamrtalbot Nov 11, 2026
f809958
test(maltextract): replace UNZIP setup with nft-utils curlAndExtract
maxulysse Nov 11, 2026
3dfb248
Merge branch 'master' of https://github.com/nf-core/modules into upda…
adamrtalbot Nov 16, 2026
d15b61c
qcatch, cellrangerarc/count: tidy tests per review
adamrtalbot Nov 17, 2026
566eaef
Revert base storage to 40GB
adamrtalbot Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions modules/nf-core/cellrangerarc/count/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_process {
name "Test Process CELLRANGERARC_COUNT"
script "../main.nf"
process "CELLRANGERARC_COUNT"
config "./nextflow.config"

tag "modules"
tag "modules_nfcore"
Expand Down Expand Up @@ -42,9 +43,6 @@ nextflow_process {
}

when {
params {
module_args = ''
}
process {
"""
input[0] = [
Expand Down Expand Up @@ -178,9 +176,6 @@ nextflow_process {
test("test_cellrangerarc_count - stub") {
options "-stub"
when {
params {
module_args = ''
}
process {
"""
input[0] = [
Expand Down
18 changes: 9 additions & 9 deletions modules/nf-core/cellrangerarc/count/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@
"clusters.csv:md5,243233d51193e6ce3127ed5ef8a08daf",
"differential_accessibility.csv:md5,25deefdff4c870e52c84f97cc4b9d5d2",
"differential_expression.csv:md5,b70730d7301cba11c46297d08b81677d",
"lsa_components.csv:md5,c3a48d3849f6b5e268bcb16b4d3db7ec",
"lsa_components.csv:md5,041ea2680865c02c4b79f8daa48287d1",
"lsa_dispersion.csv:md5,1bdae634bd63d044dcfd8ae821b3744c",
"lsa_features_selected.csv:md5,b4e3cc5cac26dc6df059c1b8e38e72a8",
"lsa_projection.csv:md5,3bce47a5a0e8dc0cb24c2ecbba5c745b",
"lsa_variance.csv:md5,ff92c64ec140084673fd7ec48ce48993",
"tsne_projection.csv:md5,b0ff0a327a7cad898087c169b9815bab",
"umap_projection.csv:md5,8a34ad7bcf4ae7d14ad8f451acb4a12e",
"pca_components.csv:md5,82a4384a22390821cbfe06b2de9e9b4d",
"lsa_projection.csv:md5,27e4b8fc1dfbc7fdd9f9c9a3a648408d",
"lsa_variance.csv:md5,119baec458780688a8f3932c98f1a8c1",
"tsne_projection.csv:md5,e7b683c4ff24298579e0e63cef2664e5",
"umap_projection.csv:md5,a2812bd2bbd120199a1256fe4aa33e4b",
"pca_components.csv:md5,a2588775619d89abc59131077488e529",
"pca_dispersion.csv:md5,a6c8d15062a67bf828c1b58d1bc1eff8",
"pca_features_selected.csv:md5,34acd3e8d57f68bf592856c0c69847e7",
"pca_projection.csv:md5,6a2bf5e268da6705b92ec02309b3f61e",
"pca_variance.csv:md5,060e80415e690a7bfc9cd385c929842f",
"tsne_projection.csv:md5,aa42abe3c868c7d0e35628acf1a24966",
"pca_projection.csv:md5,d2bc8570c4a25b27d31c6806b56e20ae",
"pca_variance.csv:md5,df508c709704c18a5388c478c435444d",
"tsne_projection.csv:md5,7b3f7a284fc7f2e1f756893dae7aba75",
Comment on lines +35 to +47

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These 9 md5s were copied by hand from CI. Snapshots may only change through nf-test; ideally regenerate on x64 CI-equivalent hardware, or note in the PR which maintainer confirmed the values. The same applies to the hand-removed report size entry in qcatch/tests/main.nf.test.snap.

"umap_projection.csv:md5,34acdb54ff9f9c8b7d7f91a625450294",
"feature_linkage.bedpe:md5,4a92b2e49591c21a3d08602235e6ef7a",
"barcodes.tsv.gz:md5,1b2010b38c2de59bea1b71d374114919",
Expand Down
5 changes: 2 additions & 3 deletions modules/nf-core/cellrangerarc/count/tests/nextflow.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
process {
withName: 'CELLRANGERARC_COUNT' {
ext.args = params.module_args
}
// The CI runner has ~13.4 GB free, so 10x mrp cannot reserve --localmem=15 and waits forever
memory = '12.GB'
}
Comment thread
adamrtalbot marked this conversation as resolved.
Resolved
3 changes: 2 additions & 1 deletion modules/nf-core/cellrangeratac/count/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ process CELLRANGERATAC_COUNT {
error "CELLRANGERATAC_COUNT module does not support Conda. Please use Docker / Singularity / Podman instead."
}
def args = task.ext.args ?: ''
def sample_arg = meta.samples.unique().join(",")
// cellranger-atac only accepts FASTQs named {sample}_S{n}[_L{lane}]_{R,I}{n}_001.fastq.gz
def sample_arg = reads.collect { fastq -> fastq.name.replaceFirst(/_S\d+(_L\d{3})?_[RI]\d_\d{3}\.f(ast)?q\.gz$/, '') }.unique().join(",")
def reference_name = reference.name
"""
cellranger-atac \\
Expand Down
3 changes: 2 additions & 1 deletion modules/nf-core/cellrangeratac/count/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ input:
type: file
description: |
List of input FastQ files of size 1 and 2 for single-end and paired-end data,
respectively, plus an additional FastQ for the barcodes
respectively, plus an additional FastQ for the barcodes. Files must be
named {sample}_S1_L001_R1_001.fastq.gz; the sample name is taken from this.
Comment thread
adamrtalbot marked this conversation as resolved.
Resolved
ontologies: []
- reference:
type: directory
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/cellrangeratac/count/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ nextflow_process {

script "../main.nf"
process "CELLRANGERATAC_COUNT"
config "./nextflow.config"

tag "modules"
tag "modules_nfcore"
Expand Down
10 changes: 5 additions & 5 deletions modules/nf-core/cellrangeratac/count/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
[
{
"id": "test",
"single_end": false,
"samples": [
"test_scATAC"
]
],
"single_end": false
},
[
"cut_sites.bigwig:md5,d41d8cd98f00b204e9800998ecf8427e",
Expand Down Expand Up @@ -48,10 +48,10 @@
]
}
],
"timestamp": "2026-03-12T17:05:01.309135832",
"timestamp": "2026-11-10T16:24:30.805334",
"meta": {
"nf-test": "0.9.4",
"nextflow": "25.10.4"
"nf-test": "0.9.5",
"nextflow": "26.10.2"
}
},
"test_cellrangeratac_count": {
Expand Down
4 changes: 4 additions & 0 deletions modules/nf-core/cellrangeratac/count/tests/nextflow.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
process {
// The CI runner has ~13.4 GB free, so 10x mrp cannot reserve --localmem=15 and waits forever
memory = '12.GB'
}
32 changes: 26 additions & 6 deletions modules/nf-core/malt/build/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,17 @@
{
"id": "test"
},
"malt_index"
[
"index0.idx",
"ref.db",
"ref.idx",
"ref.inf",
"table0.db",
"table0.idx",
"taxonomy.idx",
"taxonomy.map",
"taxonomy.tre"
]
]
],
"log": [
Expand All @@ -34,10 +44,10 @@
]
}
],
"timestamp": "2026-06-23T12:01:47.668028857",
"timestamp": "2026-11-10T15:58:25.445744",
"meta": {
"nf-test": "0.9.5",
"nextflow": "26.04.3"
"nextflow": "26.10.2"
}
},
"sarscov2 - fastq - abin": {
Expand All @@ -55,7 +65,17 @@
{
"id": "test"
},
"malt_index"
[
"index0.idx",
"ref.db",
"ref.idx",
"ref.inf",
"table0.db",
"table0.idx",
"taxonomy.idx",
"taxonomy.map",
"taxonomy.tre"
]
]
],
"log": [
Expand All @@ -75,10 +95,10 @@
]
}
],
"timestamp": "2026-06-23T12:05:54.930565778",
"timestamp": "2026-11-10T16:09:04.103408",
"meta": {
"nf-test": "0.9.5",
"nextflow": "26.04.3"
"nextflow": "26.10.2"
}
},
"sarscov2 - fastq - stub": {
Expand Down
6 changes: 5 additions & 1 deletion modules/nf-core/malt/run/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(sanitizeOutput(process.out, unstableKeys:["rma6", "log"])).match() },
// Alignment order varies between multi-threaded runs, so compare sorted content
{ assert snapshot(
path(process.out.alignments[0][1]).linesGzip.sort().join('\n').md5(),
sanitizeOutput(process.out, unstableKeys:["rma6", "log", "alignments"])
).match() },
{ assert path(process.out.log[0][1]).readLines().last().contains("Peak memory") },
)
}
Expand Down
7 changes: 4 additions & 3 deletions modules/nf-core/malt/run/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@
},
"sarscov2 - fastq": {
"content": [
"821872cc43e86f6e40e87e03c1ba6c56",
{
"alignments": [
[
{
"id": "test_1",
"single_end": false
},
"test_1.blastn.sam.gz:md5,8ad56803c1674e1a8cd42fe8801e71fd"
"test_1.blastn.sam.gz"
]
],
"log": [
Expand Down Expand Up @@ -83,10 +84,10 @@
]
}
],
"timestamp": "2026-06-23T14:01:40.218634909",
"timestamp": "2026-11-10T16:11:36.527366",
"meta": {
"nf-test": "0.9.5",
"nextflow": "26.04.3"
"nextflow": "26.10.2"
}
}
}
Loading
Loading