From f9ba47ef322376b7e83c48be42b84b238c8bcea9 Mon Sep 17 00:00:00 2001 From: Ben Sherman Date: Thu, 11 Jan 2024 04:53:08 -0600 Subject: [PATCH] Fix Ignore stored process message when ansi log is enabled (#4645) Signed-off-by: Ben Sherman Co-authored-by: Paolo Di Tommaso --- .../src/main/groovy/nextflow/trace/AnsiLogObserver.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/nextflow/src/main/groovy/nextflow/trace/AnsiLogObserver.groovy b/modules/nextflow/src/main/groovy/nextflow/trace/AnsiLogObserver.groovy index fddae54250..aaf96f3a44 100644 --- a/modules/nextflow/src/main/groovy/nextflow/trace/AnsiLogObserver.groovy +++ b/modules/nextflow/src/main/groovy/nextflow/trace/AnsiLogObserver.groovy @@ -121,7 +121,9 @@ class AnsiLogObserver implements TraceObserver { boolean warn if( isHashLogPrefix(message) && !(warn=message.indexOf('NOTE:')>0) ) return - + if( message.startsWith('[skipping]') ) + return + if( !started || !statsObserver.hasProgressRecords() ) { println message }