Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure a Tuple3 is passed to SC__PUBLISH process. This will fix th…
Browse files Browse the repository at this point in the history
…e invalid cardinality warnings
dweemx committed May 19, 2020
1 parent 7cd1ee3 commit f15f71e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils/workflows/utils.nf
Original file line number Diff line number Diff line change
@@ -71,7 +71,10 @@ workflow PUBLISH {

// Publish
SC__PUBLISH(
out,
out.map {
// if stashedParams not there, just put null 3rd arg
it -> tuple(it[0], it[1], it.size() > 2 ? it[2]: null)
},
isParamNull(fileOutputSuffix) ? 'NULL' : fileOutputSuffix,
isParamNull(toolName) ? 'NULL' : toolName,
isParameterExplorationModeOn

0 comments on commit f15f71e

Please sign in to comment.