Skip to content

Commit

Permalink
Merge branch 'pangolin-fix' into 'dev'
Browse files Browse the repository at this point in the history
Pangolin fix

See merge request epi2melabs/workflow-containers/wf-artic!80
  • Loading branch information
mattdmem committed Dec 2, 2021
2 parents 0b11dbb + 1007f51 commit 8d13aab
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ release-pangolin:
AUX_IMAGE_NAME: "pangolin"
AUX_IMAGE_ENVFILE: "environment_pangolin.yaml"
AUX_IMAGE_DOCKERFILE: "Dockerfile_pangolin"
AUX_IMAGE_TAG: "3.1.16"
AUX_IMAGE_TAG: "3.1.16-0.3.9"
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.3.9]
### Changes
- Pangolin update now takes place at build stage, rather than during run

## [v0.3.8]
### Fixed
- Nextclade data was out of date, now calls Omicron
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile_pangolin
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ RUN \
&& fix-permissions $CONDA_DIR \
&& fix-permissions $HOME

RUN pangolin --update

USER $WF_UID
WORKDIR $HOME
10 changes: 0 additions & 10 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -334,16 +334,6 @@ process pangolin {
path "lineage_report.csv", emit: report
path "pangolin.version", emit: version
"""
# Check to see if the box running the workflow has internet connectivity
EXIT_CODE=0
wget -q --spider --timeout 10 http://nanoporetech.com || EXIT_CODE=\$?
if [ \${EXIT_CODE} -eq 0 ]; then
pangolin --update
else
echo "Offline"
fi
pangolin --all-versions 2>&1 | sed 's/: /,/' > pangolin.version
pangolin consensus.fasta
"""
Expand Down
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ params {
report_coverage = true
report_variant_summary = true
report_detailed = false
wfversion = "v0.3.8"
pangolin_version = "3.1.16"
wfversion = "v0.3.9"
pangolin_version = "3.1.16-0.3.9"
aws_image_prefix = null
aws_queue = null
lab_id = null
Expand Down
4 changes: 2 additions & 2 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,12 @@
},
"wfversion": {
"type": "string",
"default": "v0.3.8",
"default": "v0.3.9",
"hidden": true
},
"pangolin_version": {
"type": "string",
"default": "3.1.16",
"default": "3.1.16-0.3.9",
"hidden": true
},
"_min_len": {
Expand Down

0 comments on commit 8d13aab

Please sign in to comment.