From f7134e4955020bdfac956449e3d61f4a0b7789bb Mon Sep 17 00:00:00 2001 From: Marcel Ribeiro-Dantas Date: Wed, 11 Oct 2023 17:17:59 -0300 Subject: [PATCH] Update warning complaining about tuple but mentioning set Signed-off-by: Marcel Ribeiro-Dantas --- .../src/main/groovy/nextflow/processor/TaskProcessor.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nextflow/src/main/groovy/nextflow/processor/TaskProcessor.groovy b/modules/nextflow/src/main/groovy/nextflow/processor/TaskProcessor.groovy index 409550ccb7..c31597e1a3 100644 --- a/modules/nextflow/src/main/groovy/nextflow/processor/TaskProcessor.groovy +++ b/modules/nextflow/src/main/groovy/nextflow/processor/TaskProcessor.groovy @@ -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