From d9b360b01070789acb344e26c672ceb01a41a58c Mon Sep 17 00:00:00 2001 From: Kay Date: Tue, 12 Mar 2024 15:50:18 +1300 Subject: [PATCH 1/2] Fix bug looking for wrong context data file. --- .../sparccurationhelperstep/helpers/contextannotationwidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapclientplugins/sparccurationhelperstep/helpers/contextannotationwidget.py b/mapclientplugins/sparccurationhelperstep/helpers/contextannotationwidget.py index 278f732..a762031 100644 --- a/mapclientplugins/sparccurationhelperstep/helpers/contextannotationwidget.py +++ b/mapclientplugins/sparccurationhelperstep/helpers/contextannotationwidget.py @@ -49,7 +49,7 @@ def update_info(self, location): thumbnail_list_model = _build_list_model(thumbnail_files) - context_files = context_annotations.search_for_context_data_files(location, convert_to_bytes("2MiB")) + context_files = context_annotations.search_for_annotation_csv_files(location, convert_to_bytes("2MiB")) # Upgrade old version 0.1.0 context info files. Load version 0.2.0 context info files. for context_file in context_files: with open(context_file, encoding='utf-8') as f: From 5f3f1da480cca06e338dfa0967b89556b0450a48 Mon Sep 17 00:00:00 2001 From: Kay Date: Tue, 12 Mar 2024 15:51:06 +1300 Subject: [PATCH 2/2] Add new user interface to uip generation script. --- uip.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uip.bat b/uip.bat index d7ebf6c..2489dc7 100644 --- a/uip.bat +++ b/uip.bat @@ -1,2 +1,3 @@ call C:\Users\ywan787\pyvenv\venv39\Scripts\activate -pyside6-uic -o mapclientplugins\sparccurationhelperstep\helpers\ui_viewswidget.py mapclientplugins\sparccurationhelperstep\qt\viewswidget.ui \ No newline at end of file +pyside6-uic -o mapclientplugins\sparccurationhelperstep\helpers\ui_viewswidget.py mapclientplugins\sparccurationhelperstep\qt\viewswidget.ui +pyside6-uic -o mapclientplugins\sparccurationhelperstep\helpers\ui_plotannotationwidget.py mapclientplugins\sparccurationhelperstep\qt\plotannotationwidget.ui \ No newline at end of file