From 08dbd03fbd8e698dca0dc895cc7498259100875a Mon Sep 17 00:00:00 2001 From: Zachary Lentz Date: Fri, 13 Oct 2023 14:26:22 -0700 Subject: [PATCH] ENH: apply the new filter from pcdsutils --- conda-recipe/meta.yaml | 2 +- lucid/launcher.py | 1 + requirements.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index e3f8011..dac60da 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -22,7 +22,7 @@ requirements: - python >=3.9 - fuzzywuzzy - ophyd - - pcdsutils + - pcdsutils >=0.14.0 - pydm - pyqt =5 - pyqtads >=4 diff --git a/lucid/launcher.py b/lucid/launcher.py index 18b18d9..6a467d6 100644 --- a/lucid/launcher.py +++ b/lucid/launcher.py @@ -195,6 +195,7 @@ def launch(beamline, *, toolbar=None, row_group_key="location_group", lucid_logger.addHandler(handler) lucid_logger.setLevel(log_level) handler.setLevel(log_level) + pcdsutils.log.PydmDemotionFilter.install(only_duplicates=False) app = QtWidgets.QApplication([]) app.setOrganizationName("SLAC National Accelerator Laboratory") diff --git a/requirements.txt b/requirements.txt index 5ebe035..76d4ad2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ fuzzywuzzy happi ophyd -pcdsutils +pcdsutils>=0.14.0 pydm pyqt5>=5 pyqtads