Skip to content

Commit

Permalink
Merge pull request #127 from ZLLentz/enh_pydm_filter
Browse files Browse the repository at this point in the history
ENH: apply the new filter from pcdsutils
  • Loading branch information
ZLLentz authored Oct 17, 2023
2 parents ca802a0 + 08dbd03 commit bbe0036
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ requirements:
- python >=3.9
- fuzzywuzzy
- ophyd
- pcdsutils
- pcdsutils >=0.14.0
- pydm
- pyqt =5
- pyqtads >=4
Expand Down
1 change: 1 addition & 0 deletions lucid/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fuzzywuzzy
happi
ophyd
pcdsutils
pcdsutils>=0.14.0
pydm
pyqt5>=5
pyqtads
Expand Down

0 comments on commit bbe0036

Please sign in to comment.