From 1bc1cd14b786b6e31cc57e72b179e4828b874867 Mon Sep 17 00:00:00 2001 From: Tamil Date: Mon, 28 Aug 2023 16:20:51 +0530 Subject: [PATCH] whaleridgefindr plugin fix --- devops/Dockerfile | 2 +- devops/install.ubuntu.sh | 2 +- wbia/control/IBEISControl.py | 2 +- wbia/web/apis_query.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/devops/Dockerfile b/devops/Dockerfile index 9cecf6d42..a8eb444b6 100644 --- a/devops/Dockerfile +++ b/devops/Dockerfile @@ -148,7 +148,7 @@ RUN set -ex \ && /virtualenv/env3/bin/python -c "import wbia_orientation; from wbia_orientation.__main__ import main; main()" \ && /virtualenv/env3/bin/python -c "import wbia_curvrank_v2; from wbia_curvrank_v2._plugin import *" \ && /virtualenv/env3/bin/python -c "import wbia_finfindr; from wbia_finfindr._plugin import *" \ - && /virtualenv/env3/bin/python -c "import wbia-whaleridgefindr; from wbia-whaleridgefindr._plugin import *" \ + && /virtualenv/env3/bin/python -c "import wbia_whaleridgefindr; from wbia_whaleridgefindr._plugin import *" \ && /virtualenv/env3/bin/python -c "import wbia_kaggle7; from wbia_kaggle7._plugin import *" \ && /virtualenv/env3/bin/python -c "import wbia_lca; from wbia_lca._plugin import *" \ && /virtualenv/env3/bin/python -c "import wbia_deepsense; from wbia_deepsense._plugin import *" \ diff --git a/devops/install.ubuntu.sh b/devops/install.ubuntu.sh index 2bd4872d6..142acbf36 100644 --- a/devops/install.ubuntu.sh +++ b/devops/install.ubuntu.sh @@ -318,7 +318,7 @@ python -c "import wbia_blend; from wbia_blend._plugin import *" python -c "import wbia_flukematch; from wbia_flukematch.plugin import *" python -c "import wbia_curvrank; from wbia_curvrank._plugin import *" python -c "import wbia_finfindr; from wbia_finfindr._plugin import *" -python -c "import wbia-whaleridgefindr; from wbia-whaleridgefindr._plugin import *" +python -c "import wbia_whaleridgefindr; from wbia_whaleridgefindr._plugin import *" python -c "import wbia_kaggle7; from wbia_kaggle7._plugin import *" python -c "import wbia_deepsense; from wbia_deepsense._plugin import *" diff --git a/wbia/control/IBEISControl.py b/wbia/control/IBEISControl.py index 50b03da9c..6ab3f4f9d 100644 --- a/wbia/control/IBEISControl.py +++ b/wbia/control/IBEISControl.py @@ -170,7 +170,7 @@ (('--no-miew-id', '--nomiew-id'), 'wbia_miew_id._plugin'), ] -if ut.get_argflag('--wbia_whaleridgefindr'): +if ut.get_argflag('--wbia-whaleridgefindr'): AUTOLOAD_PLUGIN_MODNAMES += [ (('--no-whaleridgefindr', '--nowhaleridgefindr'), 'wbia_whaleridgefindr._plugin'), ] diff --git a/wbia/web/apis_query.py b/wbia/web/apis_query.py index f9e35b5b0..20fe0ce10 100644 --- a/wbia/web/apis_query.py +++ b/wbia/web/apis_query.py @@ -456,7 +456,7 @@ def review_graph_match_html( 'pie', 'pietwo', 'miewid', - 'wbia_whaleridgefindr' + 'wbia-whaleridgefindr' ): cls = chip_match.AnnotMatch # ibs.depc_annot.requestclass_dict['BC_DTW'] else: @@ -594,7 +594,7 @@ def review_query_chips_test(**kwargs): elif 'use_miew_id' in request.args: query_config_dict = {'pipeline_root': 'MiewId'} elif 'use_whaleridgefindr' in request.args: - query_config_dict = {'pipeline_root': 'wbia_whaleridgefindr'} + query_config_dict = {'pipeline_root': 'wbia-whaleridgefindr'} else: query_config_dict = {} result_dict = ibs.query_chips_test(query_config_dict=query_config_dict)