Skip to content

Commit

Permalink
Update warning complaining about tuple but mentioning set
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Ribeiro-Dantas <[email protected]>
  • Loading branch information
mribeirodantas committed Oct 11, 2023
1 parent 882f369 commit f7134e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,12 +420,12 @@ class TaskProcessor {
// -- check that input set defines at least two elements
def invalidInputSet = config.getInputs().find { it instanceof TupleInParam && it.inner.size()<2 }
if( invalidInputSet )
checkWarn "Input `set` must define at least two component -- Check process `$name`"
checkWarn "Input `tuple` must define at least two component -- Check process `$name`"

// -- check that output set defines at least two elements
def invalidOutputSet = config.getOutputs().find { it instanceof TupleOutParam && it.inner.size()<2 }
if( invalidOutputSet )
checkWarn "Output `set` must define at least two component -- Check process `$name`"
checkWarn "Output `tuple` must define at least two component -- Check process `$name`"

/**
* Verify if this process run only one time
Expand Down

0 comments on commit f7134e4

Please sign in to comment.