Atef

Latest version: v1.4.0

Safety actively analyzes 624524 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.4.0

===================

Features
--------
- Adds script for converting pmgr configurations to atef checks.
- Adds `PagedTableWidget`, and applies it to passive checkout group pages to substantially improve the loading performance of group pages with many, many comparisons.

Bugfixes
--------
- Catch RuntimeErrors from widget deletion during enum filling
- Avoid running deleteLater on widgets that garbage collection handles, preventing segfaults

Maintenance
-----------
- Make selection behavior more consistent by using `QTreeView.setCurrentIndex()` instead of manipulating the selection model
- adds `atef scripts` subcommand for invoking existing scripts. Includes `converter_v0` and `pmgr_check` scripts.

Contributors
------------
- tangkong

**Full Changelog**: https://github.com/pcdshub/atef/compare/v1.3.0...v1.4.0

1.3.0

======

Features
--------
- Adds results summary page accessible from run-mode in the `atef config` GUI
- Adds icons to run-mode tree view
- Adds page widget cache and lazy loading functionality to the atef config GUI

Bugfixes
--------
- `atef.widgets.config.data_passive.RangeWidget`'s visualizations update a bit more frequently, and also the label text actually updates. Closes 212
- Adds a menu option to open the welcome tab, since people like it. Closes 201
- Properly shows an error message box when a file can't be opened. Closes 202
- Allow tolerances to be `None` in `Equals` comparison. Modifies the line-edit setup to allow null values (`''`, `None`) when casting the line edit value. Closes 128

Maintenance
-----------
- Make comparisons against enum signals more robust by trying both the int and string versions if the check fails.
- Refactors tree-walking helpers to a separate submodle (`atef.walk`)
- Replaces use of `functools.partial` with `WeakPartialMethodSlot` in qt slots, cleaning up intermittent test suite failures (and hopefully production crashes)
- Refactors GUI backend to support lazy page loading
- Move tree-building logic to dataclasses
- Consolidate GUI backend classes (`EditTree` / `RunTree` -> `DualTree`, `AtefItem` / `TreeItem` -> `TreeItem`)

Contributors
------------
- tangkong


**Full Changelog**: https://github.com/pcdshub/atef/compare/v1.2.0...v1.3.0

1.2.0

Features
--------
- Adds `ScientificDoubleSpinbox` and uses it in MultiModeValueEdit.

Bugfixes
--------
- Waits for signal connection during :class:`ActionRowWidget` initialization to properly
read enum strings from signal.

Contributors
------------
- tangkong

1.1.0

Features
--------
- Adds find-replace functionality and helpers. These procedures walk through the dataclass, rather than blindly modifying serialized json.
- Adds a simple find-replace widget and more fully-featured fill-template page.
- Adds backend dataclasses for running Bluesky plans in active checkouts.
- Prototypes auto-generated plan argument entry widgets.
- Annotates built-in Bluesky plans with bluesky-queueserver compatible type hints.
- Adds `atef.check.DynamicValue` (and subclasses `atef.check.HappiValue`, `atef.check.EpicsValue`) for comparing to dynamically changing data sources.
- Adds `atef.widgets.config.MultiModeValueEdit` widget for modifying values give a specified type, including dynamic values.

Bugfixes
--------
- Ensure filenames get cast as strings properly.
- Allow cast_dataclass to transfer objects from old to new dataclass, previously nested dataclasses would be converted to dicts.

Maintenance
-----------
- Adds bluesky-queueserver dependency and pins databroker.
- Add sphinx templates for autogenerated documentation.
- Reduce randomness in test suite, try all combo box options when available.

Contributors
------------
- tangkong

**Full Changelog**: https://github.com/pcdshub/atef/compare/v1.0.0...v1.1.0

1.0.0

What's Changed
* REF: atef.config rewrite to support arbitrarily grouped hierarchies by klauer in https://github.com/pcdshub/atef/pull/126
* ENH: catch up the GUI to the rest of the repo by ZLLentz in https://github.com/pcdshub/atef/pull/127
* ENH: command-line converter tool for the old file format by klauer in https://github.com/pcdshub/atef/pull/134
* TST: skip lightpath mixins in test_switch_control_layer by tangkong in https://github.com/pcdshub/atef/pull/135
* ENH: add archive viewer widget by tangkong in https://github.com/pcdshub/atef/pull/132
* BLD: simple dummy action by tangkong in https://github.com/pcdshub/atef/pull/142
* FIX: transposed the out and free run checks in demo config by ZLLentz in https://github.com/pcdshub/atef/pull/145
* ENH: run mode and basic report output and GHA migration [LCLSPC-603] by tangkong in https://github.com/pcdshub/atef/pull/140
* FIX: new file handling by ZLLentz in https://github.com/pcdshub/atef/pull/149
* ENH: add active checkout framework by tangkong in https://github.com/pcdshub/atef/pull/150
* ENH: Add passive step to active checkout by tangkong in https://github.com/pcdshub/atef/pull/155
* MNT: refactor active checkouts to have Prepared variants by tangkong in https://github.com/pcdshub/atef/pull/158
* MAINT: bulk secrets and readme update by ZLLentz in https://github.com/pcdshub/atef/pull/162
* ENH: allow Qt args on the command line by JJL772 in https://github.com/pcdshub/atef/pull/164
* ENH: add a Set-Value active checkout step by tangkong in https://github.com/pcdshub/atef/pull/159
* BUG: fix type handling, etc by tangkong in https://github.com/pcdshub/atef/pull/168
* ENH: add active report by tangkong in https://github.com/pcdshub/atef/pull/167
* FIX: use integers for rect bounds with QIcon.paint by JJL772 in https://github.com/pcdshub/atef/pull/166
* GUI: improve Result refresh behavior by tangkong in https://github.com/pcdshub/atef/pull/169
* MNT: wrap signal connection check in BusyCursorThread by tangkong in https://github.com/pcdshub/atef/pull/171
* MNT: Generally improve things related to signals, touch up reports default behavior by tangkong in https://github.com/pcdshub/atef/pull/175
* GUI: Replace welcome dialog with welcome tab, enable closable tabs by tangkong in https://github.com/pcdshub/atef/pull/176
* TST: Add tests and improve coverage by tangkong in https://github.com/pcdshub/atef/pull/178
* BUG: fix observed value report output by tangkong in https://github.com/pcdshub/atef/pull/183
* MNT: Better mode switch handling, icon refresh by tangkong in https://github.com/pcdshub/atef/pull/186
* REL: v1.0.0 by tangkong in https://github.com/pcdshub/atef/pull/187

New Contributors
* tangkong made their first contribution in https://github.com/pcdshub/atef/pull/135

**Full Changelog**: https://github.com/pcdshub/atef/compare/v0.0.1...v1.0.0

0.0.1

Original version of `atef` prior to implementing large structural changes following user feedback. Fully functional, not fully-featured. After this tag there are major structural changes to the configuration file and structure. Configuration files saved with versions prior to August 11th, 2022 remain compatible with this tag and will need to be adjusted to run with future versions.

In particular, these older configuration files do not have configuration grouping and use `IdAndConfiguration` dataclasses for all configurations instead of splitting on configuration type.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.