File tree Expand file tree Collapse file tree 10 files changed +50
-46
lines changed
scimilarity/pseudobulk/tests
subworkflows/local/quality_control/tests Expand file tree Collapse file tree 10 files changed +50
-46
lines changed Original file line number Diff line number Diff line change 58
58
{
59
59
" id" : " test"
60
60
},
61
- " test_entropy.h5ad:md5,8adb6e8c8b0d363bc82b2e9a2d865c92 "
61
+ " test_entropy.h5ad:md5,fcb737603f514f4417d09c0a66b13e80 "
62
62
]
63
63
],
64
64
" 1" : [
65
- " test_entropy.pkl:md5,30379b39824af1d6e3a1a8765c50c761 "
65
+ " test_entropy.pkl:md5,a9fff140a3651204de06e77c3691eedd "
66
66
],
67
67
" 2" : [
68
68
78
78
{
79
79
" id" : " test"
80
80
},
81
- " test_entropy.h5ad:md5,8adb6e8c8b0d363bc82b2e9a2d865c92 "
81
+ " test_entropy.h5ad:md5,fcb737603f514f4417d09c0a66b13e80 "
82
82
]
83
83
],
84
84
" multiqc_files" : [
85
85
86
86
],
87
87
" obs" : [
88
- " test_entropy.pkl:md5,30379b39824af1d6e3a1a8765c50c761 "
88
+ " test_entropy.pkl:md5,a9fff140a3651204de06e77c3691eedd "
89
89
],
90
90
" plots" : [
91
91
97
97
],
98
98
" meta" : {
99
99
" nf-test" : " 0.9.2" ,
100
- " nextflow" : " 25.04.3 "
100
+ " nextflow" : " 25.04.6 "
101
101
},
102
- " timestamp" : " 2025-06-22T15:55:37.206313117 "
102
+ " timestamp" : " 2025-08-01T13:31:01.089437435 "
103
103
}
104
104
}
Original file line number Diff line number Diff line change 58
58
{
59
59
" id" : " test"
60
60
},
61
- " test_leiden.h5ad:md5,6b5cc4904f070c25dc10cc05ba2b1dbd "
61
+ " test_leiden.h5ad:md5,e9c58f2cb8e7d6085461abc8353ed704 "
62
62
]
63
63
],
64
64
" 1" : [
65
- " test_leiden.pkl:md5,194f804c4eb94643da2bc22e1f7b821d "
65
+ " test_leiden.pkl:md5,5af626f8508811356c83d60fd7c6e13a "
66
66
],
67
67
" 2" : [
68
68
78
78
{
79
79
" id" : " test"
80
80
},
81
- " test_leiden.h5ad:md5,6b5cc4904f070c25dc10cc05ba2b1dbd "
81
+ " test_leiden.h5ad:md5,e9c58f2cb8e7d6085461abc8353ed704 "
82
82
]
83
83
],
84
84
" multiqc_files" : [
85
85
86
86
],
87
87
" obs" : [
88
- " test_leiden.pkl:md5,194f804c4eb94643da2bc22e1f7b821d "
88
+ " test_leiden.pkl:md5,5af626f8508811356c83d60fd7c6e13a "
89
89
],
90
90
" plots" : [
91
91
97
97
],
98
98
" meta" : {
99
99
" nf-test" : " 0.9.2" ,
100
- " nextflow" : " 25.04.3 "
100
+ " nextflow" : " 25.04.6 "
101
101
},
102
- " timestamp" : " 2025-06-22T16:15:02.284151387 "
102
+ " timestamp" : " 2025-08-01T13:25:57.728739105 "
103
103
}
104
104
}
Original file line number Diff line number Diff line change 40
40
{
41
41
" id" : " test"
42
42
},
43
- " test_neighbors.h5ad:md5,810e753759c7162ddb465ef3130d5d7a "
43
+ " test_neighbors.h5ad:md5,8c37445ef7f23300a624b7985b94f959 "
44
44
]
45
45
],
46
46
" 1" : [
51
51
{
52
52
" id" : " test"
53
53
},
54
- " test_neighbors.h5ad:md5,810e753759c7162ddb465ef3130d5d7a "
54
+ " test_neighbors.h5ad:md5,8c37445ef7f23300a624b7985b94f959 "
55
55
]
56
56
],
57
57
" versions" : [
61
61
],
62
62
" meta" : {
63
63
" nf-test" : " 0.9.2" ,
64
- " nextflow" : " 25.04.3 "
64
+ " nextflow" : " 25.04.6 "
65
65
},
66
- " timestamp" : " 2025-06-22T16:13:22.56806176 "
66
+ " timestamp" : " 2025-08-01T13:24:52.214682752 "
67
67
}
68
68
}
Original file line number Diff line number Diff line change 22
22
# Run PCA
23
23
sc .pp .pca (adata , random_state = 0 , key_added = key_added )
24
24
25
- # Round to 10 decimal places
25
+ # Round to 8 decimal places
26
26
# 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 )
28
28
29
29
adata .write_h5ad (f"{ prefix } .h5ad" )
30
30
df = pd .DataFrame (adata .obsm [key_added ], index = adata .obs_names )
Original file line number Diff line number Diff line change 46
46
{
47
47
" id" : " test"
48
48
},
49
- " test_pca.h5ad:md5,fc938377eb3d58bad59c42bab2d534b0 "
49
+ " test_pca.h5ad:md5,c21d37274dfe8f13c39fa3d91e415c9f "
50
50
]
51
51
],
52
52
" 1" : [
53
- " X_test_pca.pkl:md5,31bb6b6ea07d25e1b3262349d5803106 "
53
+ " X_test_pca.pkl:md5,ee20fdc88c09d6aadf364af36631af81 "
54
54
],
55
55
" 2" : [
56
56
" versions.yml:md5,2773b6a3cada54f9812b357f83c33107"
60
60
{
61
61
" id" : " test"
62
62
},
63
- " test_pca.h5ad:md5,fc938377eb3d58bad59c42bab2d534b0 "
63
+ " test_pca.h5ad:md5,c21d37274dfe8f13c39fa3d91e415c9f "
64
64
]
65
65
],
66
66
" obsm" : [
67
- " X_test_pca.pkl:md5,31bb6b6ea07d25e1b3262349d5803106 "
67
+ " X_test_pca.pkl:md5,ee20fdc88c09d6aadf364af36631af81 "
68
68
],
69
69
" versions" : [
70
70
" versions.yml:md5,2773b6a3cada54f9812b357f83c33107"
73
73
],
74
74
" meta" : {
75
75
" nf-test" : " 0.9.2" ,
76
- " nextflow" : " 25.04.3 "
76
+ " nextflow" : " 25.04.6 "
77
77
},
78
- " timestamp" : " 2025-06-22T16:56:45.632782476 "
78
+ " timestamp" : " 2025-08-01T12:42:37.601905627 "
79
79
}
80
80
}
Original file line number Diff line number Diff line change 46
46
{
47
47
" id" : " test"
48
48
},
49
- " test.h5ad:md5,4a3eeb7c2d177bdd8fba5d68ce0a4542 "
49
+ " test.h5ad:md5,be511704be2e35160002c7c98a463bfc "
50
50
]
51
51
],
52
52
" 1" : [
53
- " X_test.pkl:md5,05e0e45a8274a59496f188b0bba91208 "
53
+ " X_test.pkl:md5,398ed8a506a65f8bfa9e313a41c9d9ee "
54
54
],
55
55
" 2" : [
56
56
" versions.yml:md5,8dd6b67d52121ffea06f0546bd248df7"
60
60
{
61
61
" id" : " test"
62
62
},
63
- " test.h5ad:md5,4a3eeb7c2d177bdd8fba5d68ce0a4542 "
63
+ " test.h5ad:md5,be511704be2e35160002c7c98a463bfc "
64
64
]
65
65
],
66
66
" obsm" : [
67
- " X_test.pkl:md5,05e0e45a8274a59496f188b0bba91208 "
67
+ " X_test.pkl:md5,398ed8a506a65f8bfa9e313a41c9d9ee "
68
68
],
69
69
" versions" : [
70
70
" versions.yml:md5,8dd6b67d52121ffea06f0546bd248df7"
73
73
],
74
74
" meta" : {
75
75
" nf-test" : " 0.9.2" ,
76
- " nextflow" : " 25.04.3 "
76
+ " nextflow" : " 25.04.6 "
77
77
},
78
- " timestamp" : " 2025-06-22T17:37:53.36398184 "
78
+ " timestamp" : " 2025-08-01T13:26:56.274070245 "
79
79
}
80
80
}
Original file line number Diff line number Diff line change 40
40
{
41
41
" id" : " test"
42
42
},
43
- " test_pseudobulk.h5ad:md5,ac245076ba4ee8dca4e0f0852d5c488e "
43
+ " test_pseudobulk.h5ad:md5,34302d3c5058f4c987f1539d7d13359f "
44
44
]
45
45
],
46
46
" 1" : [
51
51
{
52
52
" id" : " test"
53
53
},
54
- " test_pseudobulk.h5ad:md5,ac245076ba4ee8dca4e0f0852d5c488e "
54
+ " test_pseudobulk.h5ad:md5,34302d3c5058f4c987f1539d7d13359f "
55
55
]
56
56
],
57
57
" versions" : [
60
60
}
61
61
],
62
62
" meta" : {
63
- " nf-test" : " 0.9.0 " ,
64
- " nextflow" : " 25.04.2 "
63
+ " nf-test" : " 0.9.2 " ,
64
+ " nextflow" : " 25.04.6 "
65
65
},
66
- " timestamp" : " 2025-06-04T20:52:11.306872854 "
66
+ " timestamp" : " 2025-08-01T13:33:25.899199594 "
67
67
},
68
68
" Should run without failures - stub" : {
69
69
" content" : [
Original file line number Diff line number Diff line change @@ -77,10 +77,12 @@ nextflow_process {
77
77
{ assert process.success },
78
78
{ assert snapshot(
79
79
// 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,
84
86
process.out.versions
85
87
).match()
86
88
},
Original file line number Diff line number Diff line change 63
63
" Should run without failures" : {
64
64
" content" : [
65
65
28863050 ,
66
- 1375767 ,
66
+ " test_scanvi.h5ad" ,
67
+ 1378327 ,
68
+ " model.pt" ,
67
69
6118418 ,
68
- 1568819 ,
70
+ " X_test_scanvi.pkl " ,
69
71
[
70
72
" versions.yml:md5,dcc5dcaf0ed31ba1d9695b817bd70d2d"
71
73
]
72
74
],
73
75
" meta" : {
74
76
" nf-test" : " 0.9.2" ,
75
- " nextflow" : " 25.04.2 "
77
+ " nextflow" : " 25.04.6 "
76
78
},
77
- " timestamp" : " 2025-06-05T21:56:49.710035839 "
79
+ " timestamp" : " 2025-08-01T14:03:02.812639616 "
78
80
}
79
81
}
Original file line number Diff line number Diff line change 141
141
" batch_col" : " sample" ,
142
142
" counts_layer" : " X"
143
143
},
144
- " test.h5ad:md5,c22d5aca6a360de7dd852cdf2d6ac1be "
144
+ " test.h5ad:md5,7cce8ecbdfcecc289ba13e0abf312269 "
145
145
]
146
146
],
147
147
" 1" : [
170
170
" batch_col" : " sample" ,
171
171
" counts_layer" : " X"
172
172
},
173
- " test.h5ad:md5,c22d5aca6a360de7dd852cdf2d6ac1be "
173
+ " test.h5ad:md5,7cce8ecbdfcecc289ba13e0abf312269 "
174
174
]
175
175
],
176
176
" multiqc_files" : [
198
198
" nf-test" : " 0.9.2" ,
199
199
" nextflow" : " 25.04.6"
200
200
},
201
- " timestamp" : " 2025-07-13T22:27:26.85479338 "
201
+ " timestamp" : " 2025-08-01T15:14:45.836429467 "
202
202
}
203
203
}
You can’t perform that action at this time.
0 commit comments