From 33b48073df5050be480193555b112917ee25f5b0 Mon Sep 17 00:00:00 2001 From: Will Rowe Date: Sat, 22 Aug 2020 23:04:51 +0100 Subject: [PATCH] verison bump, adding ci test for get_scheme, improving log --- .travis.yml | 1 + CMakeLists.txt | 2 +- artic/primerSchemeDownloader.cpp | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a7d50fa..6401b14 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,5 +57,6 @@ script: - ../bin/artic-tools_tests - ../bin/artic-tools -v - ../bin/artic-tools align_trim -h + - ../bin/artic-tools get_scheme nipah - ../bin/artic-tools validate_scheme -h - ../bin/artic-tools check_vcf -h diff --git a/CMakeLists.txt b/CMakeLists.txt index 491c7c0..0edf6d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ project(ARTIC) set(ARTIC_PROG_NAME artic-tools) set(ARTIC_VERSION_MAJOR 0) set(ARTIC_VERSION_MINOR 2) -set(ARTIC_VERSION_PATCH 1) +set(ARTIC_VERSION_PATCH 2) configure_file ( "${PROJECT_SOURCE_DIR}/artic/version.hpp.in" "${PROJECT_SOURCE_DIR}/artic/version.hpp" diff --git a/artic/primerSchemeDownloader.cpp b/artic/primerSchemeDownloader.cpp index e44ecac..7733c20 100644 --- a/artic/primerSchemeDownloader.cpp +++ b/artic/primerSchemeDownloader.cpp @@ -73,6 +73,8 @@ void artic::DownloadScheme(const std::string& schemeName, unsigned int requested LOG_TRACE("\tversion: {}", requestedVersion); if ((requestedVersion != version) && (requestedVersion != 0)) LOG_WARN("requested scheme version not found, using latest version instead (v{})", version); + if (requestedVersion == 0) + LOG_WARN("requested latest scheme version, using v{}", version); // create filenames std::stringstream of1;