Skip to content

Commit ae26a9c

Browse files
committed
Add tests for leiden_umap subworkflow
1 parent 760b19e commit ae26a9c

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

tests/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
work
2+
.nextflow*
3+
outdir

tests/main.nf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env nextflow
2+
3+
nextflow.enable.dsl= 2
4+
5+
params.publish_dir_mode = "symlink"
6+
params.outdir = "outdir"
7+
params.options = [:]
8+
9+
include { NEIGHBORS_LEIDEN_UMAP } from "../subworkflows/neighbors_leiden_umap/main.nf"
10+
11+
workflow test_neighbors_leiden_umap_single_res {
12+
NEIGHBORS_LEIDEN_UMAP(Channel.fromPath('./testdata/adata_all_celltypes.h5ad'), "X_scVI", 0.5)
13+
}
14+
15+
workflow test_neighbors_leiden_umap_multi_res {
16+
NEIGHBORS_LEIDEN_UMAP(Channel.fromPath('./testdata/adata_all_celltypes.h5ad'), "X_scVI", Channel.from(0.5, 1.0))
17+
}
13.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)