Skip to content

Commit 22f6c84

Browse files
authored
Merge pull request #198 from nf-core/test-ci
Play around with CI
2 parents 57ffa05 + aabe87b commit 22f6c84

File tree

10 files changed

+50
-46
lines changed

10 files changed

+50
-46
lines changed

modules/local/adata/entropy/tests/main.nf.test.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
{
5959
"id": "test"
6060
},
61-
"test_entropy.h5ad:md5,8adb6e8c8b0d363bc82b2e9a2d865c92"
61+
"test_entropy.h5ad:md5,fcb737603f514f4417d09c0a66b13e80"
6262
]
6363
],
6464
"1": [
65-
"test_entropy.pkl:md5,30379b39824af1d6e3a1a8765c50c761"
65+
"test_entropy.pkl:md5,a9fff140a3651204de06e77c3691eedd"
6666
],
6767
"2": [
6868

@@ -78,14 +78,14 @@
7878
{
7979
"id": "test"
8080
},
81-
"test_entropy.h5ad:md5,8adb6e8c8b0d363bc82b2e9a2d865c92"
81+
"test_entropy.h5ad:md5,fcb737603f514f4417d09c0a66b13e80"
8282
]
8383
],
8484
"multiqc_files": [
8585

8686
],
8787
"obs": [
88-
"test_entropy.pkl:md5,30379b39824af1d6e3a1a8765c50c761"
88+
"test_entropy.pkl:md5,a9fff140a3651204de06e77c3691eedd"
8989
],
9090
"plots": [
9191

@@ -97,8 +97,8 @@
9797
],
9898
"meta": {
9999
"nf-test": "0.9.2",
100-
"nextflow": "25.04.3"
100+
"nextflow": "25.04.6"
101101
},
102-
"timestamp": "2025-06-22T15:55:37.206313117"
102+
"timestamp": "2025-08-01T13:31:01.089437435"
103103
}
104104
}

modules/local/scanpy/leiden/tests/main.nf.test.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
{
5959
"id": "test"
6060
},
61-
"test_leiden.h5ad:md5,6b5cc4904f070c25dc10cc05ba2b1dbd"
61+
"test_leiden.h5ad:md5,e9c58f2cb8e7d6085461abc8353ed704"
6262
]
6363
],
6464
"1": [
65-
"test_leiden.pkl:md5,194f804c4eb94643da2bc22e1f7b821d"
65+
"test_leiden.pkl:md5,5af626f8508811356c83d60fd7c6e13a"
6666
],
6767
"2": [
6868

@@ -78,14 +78,14 @@
7878
{
7979
"id": "test"
8080
},
81-
"test_leiden.h5ad:md5,6b5cc4904f070c25dc10cc05ba2b1dbd"
81+
"test_leiden.h5ad:md5,e9c58f2cb8e7d6085461abc8353ed704"
8282
]
8383
],
8484
"multiqc_files": [
8585

8686
],
8787
"obs": [
88-
"test_leiden.pkl:md5,194f804c4eb94643da2bc22e1f7b821d"
88+
"test_leiden.pkl:md5,5af626f8508811356c83d60fd7c6e13a"
8989
],
9090
"plots": [
9191

@@ -97,8 +97,8 @@
9797
],
9898
"meta": {
9999
"nf-test": "0.9.2",
100-
"nextflow": "25.04.3"
100+
"nextflow": "25.04.6"
101101
},
102-
"timestamp": "2025-06-22T16:15:02.284151387"
102+
"timestamp": "2025-08-01T13:25:57.728739105"
103103
}
104104
}

modules/local/scanpy/neighbors/tests/main.nf.test.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
{
4141
"id": "test"
4242
},
43-
"test_neighbors.h5ad:md5,810e753759c7162ddb465ef3130d5d7a"
43+
"test_neighbors.h5ad:md5,8c37445ef7f23300a624b7985b94f959"
4444
]
4545
],
4646
"1": [
@@ -51,7 +51,7 @@
5151
{
5252
"id": "test"
5353
},
54-
"test_neighbors.h5ad:md5,810e753759c7162ddb465ef3130d5d7a"
54+
"test_neighbors.h5ad:md5,8c37445ef7f23300a624b7985b94f959"
5555
]
5656
],
5757
"versions": [
@@ -61,8 +61,8 @@
6161
],
6262
"meta": {
6363
"nf-test": "0.9.2",
64-
"nextflow": "25.04.3"
64+
"nextflow": "25.04.6"
6565
},
66-
"timestamp": "2025-06-22T16:13:22.56806176"
66+
"timestamp": "2025-08-01T13:24:52.214682752"
6767
}
6868
}

modules/local/scanpy/pca/templates/pca.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
# Run PCA
2323
sc.pp.pca(adata, random_state=0, key_added=key_added)
2424

25-
# Round to 10 decimal places
25+
# Round to 8 decimal places
2626
# This ensures hashes are stable
27-
adata.obsm[key_added] = np.round(adata.obsm[key_added], 10)
27+
adata.obsm[key_added] = np.round(adata.obsm[key_added], 8)
2828

2929
adata.write_h5ad(f"{prefix}.h5ad")
3030
df = pd.DataFrame(adata.obsm[key_added], index=adata.obs_names)

modules/local/scanpy/pca/tests/main.nf.test.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
{
4747
"id": "test"
4848
},
49-
"test_pca.h5ad:md5,fc938377eb3d58bad59c42bab2d534b0"
49+
"test_pca.h5ad:md5,c21d37274dfe8f13c39fa3d91e415c9f"
5050
]
5151
],
5252
"1": [
53-
"X_test_pca.pkl:md5,31bb6b6ea07d25e1b3262349d5803106"
53+
"X_test_pca.pkl:md5,ee20fdc88c09d6aadf364af36631af81"
5454
],
5555
"2": [
5656
"versions.yml:md5,2773b6a3cada54f9812b357f83c33107"
@@ -60,11 +60,11 @@
6060
{
6161
"id": "test"
6262
},
63-
"test_pca.h5ad:md5,fc938377eb3d58bad59c42bab2d534b0"
63+
"test_pca.h5ad:md5,c21d37274dfe8f13c39fa3d91e415c9f"
6464
]
6565
],
6666
"obsm": [
67-
"X_test_pca.pkl:md5,31bb6b6ea07d25e1b3262349d5803106"
67+
"X_test_pca.pkl:md5,ee20fdc88c09d6aadf364af36631af81"
6868
],
6969
"versions": [
7070
"versions.yml:md5,2773b6a3cada54f9812b357f83c33107"
@@ -73,8 +73,8 @@
7373
],
7474
"meta": {
7575
"nf-test": "0.9.2",
76-
"nextflow": "25.04.3"
76+
"nextflow": "25.04.6"
7777
},
78-
"timestamp": "2025-06-22T16:56:45.632782476"
78+
"timestamp": "2025-08-01T12:42:37.601905627"
7979
}
8080
}

modules/local/scanpy/umap/tests/main.nf.test.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
{
4747
"id": "test"
4848
},
49-
"test.h5ad:md5,4a3eeb7c2d177bdd8fba5d68ce0a4542"
49+
"test.h5ad:md5,be511704be2e35160002c7c98a463bfc"
5050
]
5151
],
5252
"1": [
53-
"X_test.pkl:md5,05e0e45a8274a59496f188b0bba91208"
53+
"X_test.pkl:md5,398ed8a506a65f8bfa9e313a41c9d9ee"
5454
],
5555
"2": [
5656
"versions.yml:md5,8dd6b67d52121ffea06f0546bd248df7"
@@ -60,11 +60,11 @@
6060
{
6161
"id": "test"
6262
},
63-
"test.h5ad:md5,4a3eeb7c2d177bdd8fba5d68ce0a4542"
63+
"test.h5ad:md5,be511704be2e35160002c7c98a463bfc"
6464
]
6565
],
6666
"obsm": [
67-
"X_test.pkl:md5,05e0e45a8274a59496f188b0bba91208"
67+
"X_test.pkl:md5,398ed8a506a65f8bfa9e313a41c9d9ee"
6868
],
6969
"versions": [
7070
"versions.yml:md5,8dd6b67d52121ffea06f0546bd248df7"
@@ -73,8 +73,8 @@
7373
],
7474
"meta": {
7575
"nf-test": "0.9.2",
76-
"nextflow": "25.04.3"
76+
"nextflow": "25.04.6"
7777
},
78-
"timestamp": "2025-06-22T17:37:53.36398184"
78+
"timestamp": "2025-08-01T13:26:56.274070245"
7979
}
8080
}

modules/local/scimilarity/pseudobulk/tests/main.nf.test.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
{
4141
"id": "test"
4242
},
43-
"test_pseudobulk.h5ad:md5,ac245076ba4ee8dca4e0f0852d5c488e"
43+
"test_pseudobulk.h5ad:md5,34302d3c5058f4c987f1539d7d13359f"
4444
]
4545
],
4646
"1": [
@@ -51,7 +51,7 @@
5151
{
5252
"id": "test"
5353
},
54-
"test_pseudobulk.h5ad:md5,ac245076ba4ee8dca4e0f0852d5c488e"
54+
"test_pseudobulk.h5ad:md5,34302d3c5058f4c987f1539d7d13359f"
5555
]
5656
],
5757
"versions": [
@@ -60,10 +60,10 @@
6060
}
6161
],
6262
"meta": {
63-
"nf-test": "0.9.0",
64-
"nextflow": "25.04.2"
63+
"nf-test": "0.9.2",
64+
"nextflow": "25.04.6"
6565
},
66-
"timestamp": "2025-06-04T20:52:11.306872854"
66+
"timestamp": "2025-08-01T13:33:25.899199594"
6767
},
6868
"Should run without failures - stub": {
6969
"content": [

modules/local/scvitools/scanvi/tests/main.nf.test

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,12 @@ nextflow_process {
7777
{ assert process.success },
7878
{ assert snapshot(
7979
// Hashes are not stable due to floating point inaccuracies
80-
file(process.out.h5ad.get(0).get(1)).size(),
81-
file(process.out.model.get(0).get(1)).size(),
82-
file(process.out.obsm.get(0)).size(),
83-
file(process.out.obs.get(0)).size(),
80+
file(process.out.h5ad[0][1]).size(),
81+
file(process.out.h5ad[0][1]).name,
82+
file(process.out.model[0][1]).size(),
83+
file(process.out.model[0][1]).name,
84+
file(process.out.obsm[0]).size(),
85+
file(process.out.obsm[0]).name,
8486
process.out.versions
8587
).match()
8688
},

modules/local/scvitools/scanvi/tests/main.nf.test.snap

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,19 @@
6363
"Should run without failures": {
6464
"content": [
6565
28863050,
66-
1375767,
66+
"test_scanvi.h5ad",
67+
1378327,
68+
"model.pt",
6769
6118418,
68-
1568819,
70+
"X_test_scanvi.pkl",
6971
[
7072
"versions.yml:md5,dcc5dcaf0ed31ba1d9695b817bd70d2d"
7173
]
7274
],
7375
"meta": {
7476
"nf-test": "0.9.2",
75-
"nextflow": "25.04.2"
77+
"nextflow": "25.04.6"
7678
},
77-
"timestamp": "2025-06-05T21:56:49.710035839"
79+
"timestamp": "2025-08-01T14:03:02.812639616"
7880
}
7981
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
"batch_col": "sample",
142142
"counts_layer": "X"
143143
},
144-
"test.h5ad:md5,c22d5aca6a360de7dd852cdf2d6ac1be"
144+
"test.h5ad:md5,7cce8ecbdfcecc289ba13e0abf312269"
145145
]
146146
],
147147
"1": [
@@ -170,7 +170,7 @@
170170
"batch_col": "sample",
171171
"counts_layer": "X"
172172
},
173-
"test.h5ad:md5,c22d5aca6a360de7dd852cdf2d6ac1be"
173+
"test.h5ad:md5,7cce8ecbdfcecc289ba13e0abf312269"
174174
]
175175
],
176176
"multiqc_files": [
@@ -198,6 +198,6 @@
198198
"nf-test": "0.9.2",
199199
"nextflow": "25.04.6"
200200
},
201-
"timestamp": "2025-07-13T22:27:26.85479338"
201+
"timestamp": "2025-08-01T15:14:45.836429467"
202202
}
203203
}

0 commit comments

Comments
 (0)