From 0e5e4a2ced2f1bb954ef53fe8ed556a9009118b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kre=C5=A1imir=20Be=C5=A1tak?= Date: Tue, 14 Nov 2023 09:32:44 +0000 Subject: [PATCH] Fixed WorkflowMolkart.groovy --- CHANGELOG.md | 2 +- lib/WorkflowMolkart.groovy | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b1a1b7..29e0de0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ Added documentation - usage.md and output.md - updated nf-core module versions - CITATIONS.md updated - README.md updated -- WorkflowMolkart.groovy updated to return citations if tools are used +- WorkflowMolkart.groovy updated to return citations if tools are used (added commas) ## v1.0.1dev - [2023.25.10] diff --git a/lib/WorkflowMolkart.groovy b/lib/WorkflowMolkart.groovy index 35fc684..55ef7a0 100755 --- a/lib/WorkflowMolkart.groovy +++ b/lib/WorkflowMolkart.groovy @@ -59,10 +59,10 @@ class WorkflowMolkart { // Uncomment function in methodsDescriptionText to render in MultiQC report def citation_text = [ "Tools used in the workflow included:", - "Mindagap (Guerreiro et al. 2023)" - params.segmentation_method.split(',').contains('mesmer') ? "Mesmer (Greenwald et al. 2021)" : "", - params.segmentation_method.split(',').contains('ilastik') ? "ilastik (Berg et al. 2019)" : "", - params.segmentation_method.split(',').contains('cellpose') ? "Cellpose (Stringer et al. 2021; Pachitariu et al 2022)" : "", + "Mindagap (Guerreiro et al. 2023),", + params.segmentation_method.split(',').contains('mesmer') ? "Mesmer (Greenwald et al. 2021)," : "", + params.segmentation_method.split(',').contains('ilastik') ? "ilastik (Berg et al. 2019)," : "", + params.segmentation_method.split(',').contains('cellpose') ? "Cellpose (Stringer et al. 2021; Pachitariu et al 2022)," : "", "MultiQC (Ewels et al. 2016)", "." ].join(' ').trim()