Skip to content

Commit

Permalink
verbose messages - parse version number from the manifest file
Browse files Browse the repository at this point in the history
  • Loading branch information
vmikk committed Jan 30, 2024
1 parent e2ddb4d commit 142f2ca
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
========================================================================================
PhyloNext: GBIF phylogenetic diversity pipeline
========================================================================================
Version: 1.4.0
License: MIT
Github : https://github.com/vmikk/phylonext
Website: https://phylonext.github.io/
Expand All @@ -15,9 +14,6 @@
// Enable DSL2 syntax
nextflow.enable.dsl = 2

// Pipeline version
version = '1.4.0'

// Parameters are defined in the `conf/params.config` file

// // Biodiverse args
Expand Down Expand Up @@ -62,7 +58,7 @@ polygon = params.polygon ? file(params.polygon)
def helpMsg() {
log.info"""
=====================================================================
PhyloNext: GBIF phylogenetic diversity pipeline : Version ${version}
PhyloNext: GBIF phylogenetic diversity pipeline : Version ${workflow.manifest.version}
=====================================================================
Pipeline Usage:
Expand Down Expand Up @@ -172,7 +168,7 @@ if (params.input == null) {
// Print the parameters to the console and to the log
log.info """
====================================================================
PhyloNext: GBIF phylogenetic diversity pipeline, Version ${version}
PhyloNext: GBIF phylogenetic diversity pipeline, Version ${workflow.manifest.version}
====================================================================
GBIF occurrence dump: ${params.input}
Output path: ${params.outdir}
Expand Down

0 comments on commit 142f2ca

Please sign in to comment.