DiamondLightSource / tickit

Event-based hardware simulation framework
Apache License 2.0
7 stars 0 forks source link

Add helper methods to epics adapter for easily PV building #198

Closed callumforrester closed 11 months ago

callumforrester commented 11 months ago

Add helper methods to epics adapter such as float_ro and float_rbv which build sets of PVs linked to getters and setters on devices. Reduces boilerplate as well as the user's need to understand the softioc library.

codecov[bot] commented 11 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (94fc01d) 90.45% compared to head (f449554) 92.77%.

Files Patch % Lines
src/tickit/adapters/epics.py 66.66% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## siggen #198 +/- ## ========================================== + Coverage 90.45% 92.77% +2.32% ========================================== Files 42 41 -1 Lines 1456 1357 -99 ========================================== - Hits 1317 1259 -58 + Misses 139 98 -41 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

callumforrester commented 11 months ago

Wrong branch, correct PR: https://github.com/dls-controls/tickit/pull/199