From f4d27b5e83df3887742f211529f650062d1e0f32 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Thu, 1 Jun 2023 11:32:53 -0600 Subject: [PATCH] Bugfix #2189 main_v5.0 - spaces in complex thresholds (#2193) --- .github/jobs/get_metviewer.sh | 4 ++-- .../pytests/util/string_manip/test_util_string_manip.py | 2 ++ .../pytests/wrappers/grid_stat/test_grid_stat_wrapper.py | 7 +++++-- metplus/util/string_manip.py | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/jobs/get_metviewer.sh b/.github/jobs/get_metviewer.sh index f96752758c..5cf1058454 100755 --- a/.github/jobs/get_metviewer.sh +++ b/.github/jobs/get_metviewer.sh @@ -7,13 +7,13 @@ export METVIEWER_DIR=$RUNNER_WORKSPACE/output/metviewer export METVIEWER_DOCKER_IMAGE=dtcenter/metviewer:develop # install docker-compose -apk add docker-compose +apk add docker-cli-compose # download docker-compose.yml file from METviewer develop branch wget https://raw.githubusercontent.com/dtcenter/METviewer/develop/docker/docker-compose.yml # Run docker-compose to create the containers -docker-compose up -d +docker compose up -d # sleep for a few seconds to ensure database has fully started sleep 20 diff --git a/internal/tests/pytests/util/string_manip/test_util_string_manip.py b/internal/tests/pytests/util/string_manip/test_util_string_manip.py index 22453a53fe..d53f19b469 100644 --- a/internal/tests/pytests/util/string_manip/test_util_string_manip.py +++ b/internal/tests/pytests/util/string_manip/test_util_string_manip.py @@ -128,6 +128,8 @@ def test_threshold(key, value): ("goSFP90", None), ("NA", [('NA', '')]), ("