Skip to content

Commit

Permalink
Fixed WorkflowMolkart.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
kbestak committed Nov 14, 2023
1 parent 9f2e1ea commit 0e5e4a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
8 changes: 4 additions & 4 deletions lib/WorkflowMolkart.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0e5e4a2

Please sign in to comment.