Skip to content

Commit 6480259

Browse files
change other doublet detection methods to use mix
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent ee63725 commit 6480259

File tree

1 file changed

+4
-4
lines changed
  • subworkflows/local/doublet_detection

1 file changed

+4
-4
lines changed

subworkflows/local/doublet_detection/main.nf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ workflow DOUBLET_DETECTION {
2828
ch_h5ad
2929
)
3030
ch_predictions = ch_predictions.mix(SCDS.out.predictions)
31-
ch_versions = SCDS.out.versions
31+
ch_versions = ch_versions.mix(SCDS.out.versions)
3232
}
3333

3434
if (methods.contains('solo')) {
@@ -38,7 +38,7 @@ workflow DOUBLET_DETECTION {
3838
scvi_max_epochs ?: []
3939
)
4040
ch_predictions = ch_predictions.mix(SCVITOOLS_SOLO.out.predictions)
41-
ch_versions = SCVITOOLS_SOLO.out.versions
41+
ch_versions = ch_versions.mix(SCVITOOLS_SOLO.out.versions)
4242
}
4343

4444
if (methods.contains('scrublet')) {
@@ -47,15 +47,15 @@ workflow DOUBLET_DETECTION {
4747
ch_batch_col
4848
)
4949
ch_predictions = ch_predictions.mix(SCANPY_SCRUBLET.out.predictions)
50-
ch_versions = SCANPY_SCRUBLET.out.versions
50+
ch_versions = ch_versions.mix(SCANPY_SCRUBLET.out.versions)
5151
}
5252

5353
if (methods.contains('doubletdetection')) {
5454
DOUBLETDETECTION (
5555
ch_h5ad
5656
)
5757
ch_predictions = ch_predictions.mix(DOUBLETDETECTION.out.predictions)
58-
ch_versions = DOUBLETDETECTION.out.versions
58+
ch_versions = ch_versions.mix(DOUBLETDETECTION.out.versions)
5959
}
6060

6161
if (methods.contains('scdblfinder')) {

0 commit comments

Comments
 (0)