From e762405e05ac21e1b70218bff7689e0a37127887 Mon Sep 17 00:00:00 2001 From: lcjohnso Date: Thu, 29 Feb 2024 13:29:58 -0600 Subject: [PATCH] re-alias progress bar for import --- panoptes_aggregation/scripts/__init__.py | 2 +- panoptes_aggregation/scripts/gui.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/panoptes_aggregation/scripts/__init__.py b/panoptes_aggregation/scripts/__init__.py index 9f6435c4..f54c1552 100644 --- a/panoptes_aggregation/scripts/__init__.py +++ b/panoptes_aggregation/scripts/__init__.py @@ -1,7 +1,7 @@ from .config_workflow_panoptes import config_workflow from .extract_panoptes_csv import extract_csv from .reduce_panoptes_csv import reduce_csv -from .batch_utils import progressbar as pbe +from .batch_utils import progressbar as pb from .path_type import PathType from .gui_overrides import gui_override, pbar_override from .aggregation_parser import main as parser_main diff --git a/panoptes_aggregation/scripts/gui.py b/panoptes_aggregation/scripts/gui.py index b1591e2e..708dcff5 100755 --- a/panoptes_aggregation/scripts/gui.py +++ b/panoptes_aggregation/scripts/gui.py @@ -22,8 +22,7 @@ except ImportError: raise ImportError('The GUI component is not installed, reinstall with `pip install -U panoptes_aggregation[gui]`') -panoptes_aggregation.scripts.pbar_override(panoptes_aggregation.scripts.pbe) -panoptes_aggregation.scripts.pbar_override(panoptes_aggregation.scripts.pbr) +panoptes_aggregation.scripts.pbar_override(panoptes_aggregation.scripts.pb) panoptes_aggregation.scripts.gui_override(gooey) current_folder = os.path.dirname(os.path.abspath(__file__))