v0.7.10

Contributors: Jerome Carnis, Philipp Middendorf, Ivan De Gennaro Aquino

  • Refactor the DevicePicoscale implementation.

  • Bug: compare the user-defined value in inputs fields of exposed methods to the defined limits. Previously limits applied only to the widget arrows.

  • Create the EigerSwTrigger and EigerSwScanner classes, to allow scans with the Eiger using a software trigger.

  • Create a new widget MethodEnabledByAttributeWidget, where the input field of the exposed method can be enabled/disabled by an external boolean attribute.

  • Upgrade the pint library to 0.19.2 (this new version supports inf). As a consequence, Kamzik3 does not support any more Python 3.7.

  • Refactor: move snippetsUnits.device_units to Device.to_device_unit and add unit tests.

  • Implement the DummyTangoDevice. It takes the expected Tango attributes and methods names in the config file. It is useful when one needs to mock the Tango devices.

  • Add the option to provide a step-size in the config file for the DeviceNumAttributeWidget. This is useful for motors where the default step size should be smaller than the default (e.g. risk of collision).

  • Add snippet update_saved_attributes.h5 to update the fields in an existing saved_attributes.h5 file without losing the existing records.

v0.7.9

Contributors: Jerome Carnis, Philipp Middendorf

devices.DeviceEpos:

  • check type of the attributes when reconnecting the device (second call to __init__, type in the YAML mapping may be different).

  • update the position-related attributes only when the device is connected (the position reading is 0 when disconnected, not generating an error).

  • remove inheritance from deviceOSLibrary which is error-prone and does not much

devices.Device:

  • when SAVE_CHANGE, update also the device config (this solves the inconsistency

in configs after reconnection)

Widgets:

  • create DeviceNumAttributeBusyWidget, enabled only when the device status is BUSY (when setpoints can be set only if the device is started, e.g. Chiller)

  • deviceNumAttributeWidget: compare to string “degC” instead of units.degC (pint exception)

  • deviceDebugWidget: add checkbox for returning commands. This avoids crashing hardware not returning anything.

v0.7.8

Contributors: Jerome Carnis

  • Bug fixes for Smaract2, DevicePeakTech, and widgets

  • Added type check with mypy

  • Added linting with pylint

  • Added code formatting with black

v0.7.5

  • Added first test using pytest package.

  • Added support for Eiger detector implemented in Tango.

  • Bug fixes.

v0.7

  • Saved attributes were completely reworked.

  • File format was changed from YAML to HDF5 and GUI was reworked from the ground. Please use converter located in /snippets/snippetSavedAttributes.py to convert your old save file. Or You can use generate_saved_attributes function to generate empty new save file.

EOF