Skip to content

Commit aa2eeb9

Browse files
authored
Merge pull request #256 from nf-core/singler-fix
Fix SingleR obs naming
2 parents 16160a5 + 712b488 commit aa2eeb9

File tree

7 files changed

+78
-78
lines changed

7 files changed

+78
-78
lines changed

modules/local/celltypes/singler/templates/singleR.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ for (ref_idx in seq_along(references)) {
102102
)
103103

104104
colnames(predictions) <- paste0(
105-
colnames(predictions), "_", prefix, "_", ref_name
105+
colnames(predictions), "_", ref_name
106106
)
107107
prediction_results[[ref]] <- predictions
108108
}

modules/local/celltypes/singler/tests/main.nf.test.snap

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"id": "test"
88
},
9-
"test_singler_predictions.csv:md5,1c31f07b4bff6980036f444039468fa5"
9+
"test_singler_predictions.csv:md5,b696e09b649235ac083de0d51a5f05fc"
1010
]
1111
],
1212
"test_singler_hpca_distribution.pdf",
@@ -15,11 +15,11 @@
1515
"versions.yml:md5,448f2705ce813b3f6e93bb74b092a60c"
1616
]
1717
],
18+
"timestamp": "2026-03-10T08:15:16.297363043",
1819
"meta": {
19-
"nf-test": "0.9.2",
20-
"nextflow": "25.04.6"
21-
},
22-
"timestamp": "2025-08-02T10:33:18.632445193"
20+
"nf-test": "0.9.4",
21+
"nextflow": "25.10.2"
22+
}
2323
},
2424
"Should run after celldex reference is fetched": {
2525
"content": [
@@ -28,7 +28,7 @@
2828
{
2929
"id": "test"
3030
},
31-
"test_singler_predictions.csv:md5,d90a4649a5d44b49f08568e58388f958"
31+
"test_singler_predictions.csv:md5,2b189f92b19bdd77f7fa202573a74b35"
3232
]
3333
],
3434
"test_singler_test_distribution.pdf",
@@ -37,11 +37,11 @@
3737
"versions.yml:md5,448f2705ce813b3f6e93bb74b092a60c"
3838
]
3939
],
40+
"timestamp": "2026-03-10T08:04:11.282862159",
4041
"meta": {
41-
"nf-test": "0.9.2",
42-
"nextflow": "25.04.6"
43-
},
44-
"timestamp": "2025-08-02T10:21:19.878724413"
42+
"nf-test": "0.9.4",
43+
"nextflow": "25.10.2"
44+
}
4545
},
4646
"Should run with a single reference": {
4747
"content": [
@@ -50,7 +50,7 @@
5050
{
5151
"id": "test"
5252
},
53-
"test_singler_predictions.csv:md5,1c31f07b4bff6980036f444039468fa5"
53+
"test_singler_predictions.csv:md5,b696e09b649235ac083de0d51a5f05fc"
5454
]
5555
],
5656
"test_singler_hpca_distribution.pdf",
@@ -59,11 +59,11 @@
5959
"versions.yml:md5,448f2705ce813b3f6e93bb74b092a60c"
6060
]
6161
],
62+
"timestamp": "2026-03-10T08:09:37.481752479",
6263
"meta": {
63-
"nf-test": "0.9.2",
64-
"nextflow": "25.04.6"
65-
},
66-
"timestamp": "2025-08-02T10:27:18.432918231"
64+
"nf-test": "0.9.4",
65+
"nextflow": "25.10.2"
66+
}
6767
},
6868
"Should run with a single reference - stub": {
6969
"content": [
@@ -124,11 +124,11 @@
124124
]
125125
}
126126
],
127+
"timestamp": "2025-08-02T11:42:02.21047184",
127128
"meta": {
128129
"nf-test": "0.9.2",
129130
"nextflow": "25.04.6"
130-
},
131-
"timestamp": "2025-08-02T11:42:02.21047184"
131+
}
132132
},
133133
"Should run with two references": {
134134
"content": [
@@ -137,17 +137,17 @@
137137
{
138138
"id": "test"
139139
},
140-
"test_singler_predictions.csv:md5,67d0aa7d4534ec4d87ea7b28557e0441"
140+
"test_singler_predictions.csv:md5,11a52bcaca3f7e8ad88a9fe7d26b49c5"
141141
]
142142
],
143143
[
144144
"versions.yml:md5,448f2705ce813b3f6e93bb74b092a60c"
145145
]
146146
],
147+
"timestamp": "2026-03-10T08:21:48.883699278",
147148
"meta": {
148-
"nf-test": "0.9.2",
149-
"nextflow": "25.04.6"
150-
},
151-
"timestamp": "2025-08-02T11:14:03.77950593"
149+
"nf-test": "0.9.4",
150+
"nextflow": "25.10.2"
151+
}
152152
}
153153
}

modules/local/hugounifier/apply/tests/main.nf.test.snap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
]
2727
}
2828
],
29+
"timestamp": "2026-01-10T23:17:20.422385507",
2930
"meta": {
3031
"nf-test": "0.9.2",
3132
"nextflow": "25.04.6"
32-
},
33-
"timestamp": "2026-01-10T23:17:20.422385507"
33+
}
3434
},
3535
"Should run without failures": {
3636
"content": [
@@ -40,7 +40,7 @@
4040
{
4141
"id": "test"
4242
},
43-
"test_hugounifier.h5ad:md5,6a2e97a4b371b8774d6b8c22634eaa4b"
43+
"test_hugounifier.h5ad:md5,c7cdbd7262128dcbd7b90f845188e34f"
4444
]
4545
],
4646
"1": [
@@ -51,18 +51,18 @@
5151
{
5252
"id": "test"
5353
},
54-
"test_hugounifier.h5ad:md5,6a2e97a4b371b8774d6b8c22634eaa4b"
54+
"test_hugounifier.h5ad:md5,c7cdbd7262128dcbd7b90f845188e34f"
5555
]
5656
],
5757
"versions": [
5858
"versions.yml:md5,ecf9df8f7cb2a1ab5594ad9543ee32d7"
5959
]
6060
}
6161
],
62+
"timestamp": "2026-03-10T07:58:54.198227455",
6263
"meta": {
63-
"nf-test": "0.9.2",
64+
"nf-test": "0.9.4",
6465
"nextflow": "25.10.2"
65-
},
66-
"timestamp": "2026-02-15T18:59:48.493913413"
66+
}
6767
}
6868
}

modules/local/hugounifier/get/tests/main.nf.test.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
]
3333
}
3434
],
35+
"timestamp": "2026-01-10T23:15:16.094519101",
3536
"meta": {
3637
"nf-test": "0.9.2",
3738
"nextflow": "25.04.6"
38-
},
39-
"timestamp": "2026-01-10T23:15:16.094519101"
39+
}
4040
},
4141
"Should run without failures": {
4242
"content": [
@@ -47,8 +47,8 @@
4747
"id": "test"
4848
},
4949
[
50-
"sample1.csv:md5,1bde85720bbe0133cdcbe96df2fec192",
51-
"sample2.csv:md5,437d54f7d5db0eacb386873778a4eef1"
50+
"sample1.csv:md5,912f7444a187b1f8094c1f85b5282945",
51+
"sample2.csv:md5,bba30f28971437148138af65bd42aee0"
5252
]
5353
]
5454
],
@@ -61,8 +61,8 @@
6161
"id": "test"
6262
},
6363
[
64-
"sample1.csv:md5,1bde85720bbe0133cdcbe96df2fec192",
65-
"sample2.csv:md5,437d54f7d5db0eacb386873778a4eef1"
64+
"sample1.csv:md5,912f7444a187b1f8094c1f85b5282945",
65+
"sample2.csv:md5,bba30f28971437148138af65bd42aee0"
6666
]
6767
]
6868
],
@@ -71,10 +71,10 @@
7171
]
7272
}
7373
],
74+
"timestamp": "2026-03-10T07:56:17.593716871",
7475
"meta": {
75-
"nf-test": "0.9.2",
76+
"nf-test": "0.9.4",
7677
"nextflow": "25.10.2"
77-
},
78-
"timestamp": "2026-02-15T17:21:28.944597088"
78+
}
7979
}
8080
}

subworkflows/local/singler/tests/main.nf.test.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
]
2929
}
3030
],
31+
"timestamp": "2025-07-13T13:35:35.117857167",
3132
"meta": {
3233
"nf-test": "0.9.2",
3334
"nextflow": "25.04.6"
34-
},
35-
"timestamp": "2025-07-13T13:35:35.117857167"
35+
}
3636
},
3737
"Should run without failures": {
3838
"content": [
@@ -42,7 +42,7 @@
4242
{
4343
"id": "test"
4444
},
45-
"test_singler_predictions.csv:md5,a5912d3fb9dcba9f386286a332849ad4"
45+
"test_singler_predictions.csv:md5,dae3881eb387e231fccb6c4302d93077"
4646
]
4747
],
4848
"1": [
@@ -54,7 +54,7 @@
5454
{
5555
"id": "test"
5656
},
57-
"test_singler_predictions.csv:md5,a5912d3fb9dcba9f386286a332849ad4"
57+
"test_singler_predictions.csv:md5,dae3881eb387e231fccb6c4302d93077"
5858
]
5959
],
6060
"versions": [
@@ -63,10 +63,10 @@
6363
]
6464
}
6565
],
66+
"timestamp": "2026-03-10T09:08:21.0966997",
6667
"meta": {
67-
"nf-test": "0.9.2",
68-
"nextflow": "25.04.6"
69-
},
70-
"timestamp": "2025-07-13T13:35:16.693586877"
68+
"nf-test": "0.9.4",
69+
"nextflow": "25.10.2"
70+
}
7171
}
7272
}

subworkflows/local/unify/tests/main.nf.test.snap

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@
4848
]
4949
}
5050
],
51+
"timestamp": "2026-01-18T17:39:58.741250963",
5152
"meta": {
5253
"nf-test": "0.9.2",
5354
"nextflow": "25.04.6"
54-
},
55-
"timestamp": "2026-01-18T17:39:58.741250963"
55+
}
5656
},
5757
"Should run without failures - symbol_col index, unify_gene_symbols false": {
5858
"content": [
@@ -101,11 +101,11 @@
101101
]
102102
}
103103
],
104+
"timestamp": "2026-01-18T21:22:29.899026309",
104105
"meta": {
105106
"nf-test": "0.9.2",
106107
"nextflow": "25.10.2"
107-
},
108-
"timestamp": "2026-01-18T21:22:29.899026309"
108+
}
109109
},
110110
"Should run without failures - symbol_col index, unify_gene_symbols true": {
111111
"content": [
@@ -121,7 +121,7 @@
121121
"unknown_label": "unknown",
122122
"counts_layer": "X"
123123
},
124-
"test_unified.h5ad:md5,720e333a51809a0ee9c03a9d1450d2ad"
124+
"test_unified.h5ad:md5,a9ac476adb2844de8640bf5fcaa0e0b9"
125125
]
126126
],
127127
"1": [
@@ -145,7 +145,7 @@
145145
"unknown_label": "unknown",
146146
"counts_layer": "X"
147147
},
148-
"test_unified.h5ad:md5,720e333a51809a0ee9c03a9d1450d2ad"
148+
"test_unified.h5ad:md5,a9ac476adb2844de8640bf5fcaa0e0b9"
149149
]
150150
],
151151
"multiqc_files": [
@@ -160,11 +160,11 @@
160160
]
161161
}
162162
],
163+
"timestamp": "2026-03-10T09:06:13.565614981",
163164
"meta": {
164-
"nf-test": "0.9.2",
165+
"nf-test": "0.9.4",
165166
"nextflow": "25.10.2"
166-
},
167-
"timestamp": "2026-02-15T18:59:00.665039292"
167+
}
168168
},
169169
"Should run without failures - symbol_col index, unify_gene_symbols false - stub": {
170170
"content": [
@@ -213,11 +213,11 @@
213213
]
214214
}
215215
],
216+
"timestamp": "2026-01-18T17:39:11.758025979",
216217
"meta": {
217218
"nf-test": "0.9.2",
218219
"nextflow": "25.04.6"
219-
},
220-
"timestamp": "2026-01-18T17:39:11.758025979"
220+
}
221221
},
222222
"Should run without failures - symbol_col index, unify_gene_symbols true - stub": {
223223
"content": [
@@ -274,11 +274,11 @@
274274
]
275275
}
276276
],
277+
"timestamp": "2026-01-18T17:41:17.198406767",
277278
"meta": {
278279
"nf-test": "0.9.2",
279280
"nextflow": "25.04.6"
280-
},
281-
"timestamp": "2026-01-18T17:41:17.198406767"
281+
}
282282
},
283283
"Should run without failures - symbol_col none, unify_gene_symbols false": {
284284
"content": [
@@ -329,10 +329,10 @@
329329
]
330330
}
331331
],
332+
"timestamp": "2026-01-18T21:23:44.819165812",
332333
"meta": {
333334
"nf-test": "0.9.2",
334335
"nextflow": "25.10.2"
335-
},
336-
"timestamp": "2026-01-18T21:23:44.819165812"
336+
}
337337
}
338338
}

0 commit comments

Comments
 (0)