From 52f5eff01a5d49faf7ed7ac563d65122b4c7d84c Mon Sep 17 00:00:00 2001 From: MarieLataretu <52002068+MarieLataretu@users.noreply.github.com> Date: Tue, 22 Aug 2023 17:16:28 +0200 Subject: [PATCH] added timestamp to reports; solves #256 --- nextflow.config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nextflow.config b/nextflow.config index dd65672..9dd6691 100644 --- a/nextflow.config +++ b/nextflow.config @@ -74,14 +74,15 @@ params { } // runinfo +def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-ss') timeline { enabled = true - file = "${params.output}/${params.runinfodir}/execution_timeline.html" + file = "${params.output}/${params.runinfodir}/execution_timeline_${trace_timestamp}.html" } report { enabled = true - file = "${params.output}/${params.runinfodir}/execution_report.html" + file = "${params.output}/${params.runinfodir}/execution_report_${trace_timestamp}.html" }