Skip to content

v0.0.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@lobis lobis released this 29 Jun 09:53
· 130 commits to main since this release
f6e7e0f
Support iseg power supplies (#17)

* conclicts fixed

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* created devices/caen module

* fix import

* core classes: CAEN, ISEG

* some methods of class Channel

setters are not labeled as such yet

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add function to list serial ports

* add test for module

* add test for channel

* working alarm parsing

* fix parse response when not returning parameter

* fix bad bit array parsing

* correctly parse alarm/stat

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* do not run tests if no serial device exists

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* decorator to skip test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* attempt to fix skip

* use correct annotations

* use correct annotations

* rest of channel commands and a few module commands

* iseg tests

* fix conflicts

* implement more iseg

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* rest of module methods

* add mypy to pre-commit

* removed replicated code, added setter's decorators and missing type hints

Some methods in iseg.devices.channel were duplicated

* use ruff instead of mypy

* all iseg methods

* test_utils updated

* comments indicating the devices where some methods only work + some fixes

* annotations imported from future

* annotations imported from future, again

* improved imports

* add "--show-fixes" to ruff

* reduce code duplication

* add .ruff_cache/ to .gitignore

* add .ruff_cache/ to .gitignore

* some fixes and almost all tests

* rest of iseg tests

* fixed errors due to automatic merge

* Fix imports

* fix test_caen_commands

* fixed test_caen_commands

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Luis Antonio Obis Aparicio <[email protected]>
Co-authored-by: Luis Antonio Obis Aparicio <[email protected]>