Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/nf-core/scanpy/hashsolo/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ process SCANPY_HASHSOLO {
tuple val(meta), path("*_assignment_hashsolo.csv"), emit: assignment
tuple val(meta), path("*_hashsolo.h5ad") , emit: h5ad
tuple val(meta), path("*_params_hashsolo.csv") , emit: params
path "versions.yml" , emit: versions
path "versions.yml" , emit: versions, topic: versions

when:
task.ext.when == null || task.ext.when
Expand Down
12 changes: 10 additions & 2 deletions modules/nf-core/scanpy/hashsolo/meta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/meta-schema.json
name: "SCANPY_HASHSOLO"
description: Probabilistic demultiplexing of cell hashing data
keywords:
Expand All @@ -14,7 +13,8 @@ tools:
documentation: "https://scanpy.readthedocs.io/en/stable/generated/scanpy.external.pp.hashsolo.html"
tool_dev_url: "https://github.com/scverse/scanpy"
doi: "10.1186/s13059-017-1382-0"
licence: ["BSD-3"]
licence:
- "BSD-3"
identifier: biotools:scanpy

input:
Expand Down Expand Up @@ -83,6 +83,14 @@ output:
pattern: "versions.yml"
ontologies:
- edam: http://edamontology.org/format_3750 # YAML
topics:
versions:
- versions.yml:
type: file
description: File containing software versions
pattern: "versions.yml"
ontologies:
- edam: http://edamontology.org/format_3750 # YAML
authors:
- "@seohyonkim"
- "@LuisHeinzlmeier"
Expand Down
22 changes: 7 additions & 15 deletions modules/nf-core/scanpy/hashsolo/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match() }
{ assert snapshot(sanitizeOutput(process.out, unstableKeys: ["assignment", "h5ad"])).match() }
)
}
}
Expand Down Expand Up @@ -93,7 +93,7 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match() }
{ assert snapshot(sanitizeOutput(process.out, unstableKeys: ["assignment", "h5ad"])).match() }
)
}
}
Expand Down Expand Up @@ -129,7 +129,7 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match() }
{ assert snapshot(sanitizeOutput(process.out)).match() }
)
}
}
Expand Down Expand Up @@ -158,10 +158,8 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(
process.out,
process.out.versions.collect { path(it).yaml }
Comment thread
mribeirodantas marked this conversation as resolved.
).match() }
{ assert snapshot(sanitizeOutput(process.out, unstableKeys: ["assignment", "h5ad"])).match() },
{ assert snapshot(process.out.versions.collect { path(it).yaml }).match("versions") }
)
}

Expand Down Expand Up @@ -196,10 +194,7 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(
process.out,
process.out.versions.collect { path(it).yaml }
).match() }
{ assert snapshot(sanitizeOutput(process.out, unstableKeys: ["assignment", "h5ad"])).match() }
)
}

Expand All @@ -224,10 +219,7 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(
process.out,
process.out.versions.collect { path(it).yaml }
).match() }
{ assert snapshot(sanitizeOutput(process.out)).match() }
)
}

Expand Down
Loading
Loading