pymeasure / pyleco

Python implementation of the Laboratory Experiment COntrol (LECO) protocol
MIT License
9 stars 3 forks source link

Add locking actor #84

Closed BenediktBurger closed 4 months ago

BenediktBurger commented 4 months ago

Closes #39

Uses the message added in #82 (adaptations needed, once that is merged!)

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.58%. Comparing base (cc496b7) to head (e0890c2).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #84 +/- ## ========================================== + Coverage 89.37% 89.58% +0.20% ========================================== Files 36 38 +2 Lines 2937 2996 +59 Branches 363 371 +8 ========================================== + Hits 2625 2684 +59 Misses 261 261 Partials 51 51 ``` | [Flag](https://app.codecov.io/gh/pymeasure/pyleco/pull/84/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymeasure) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/pymeasure/pyleco/pull/84/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymeasure) | `89.58% <100.00%> (+0.20%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymeasure#carryforward-flags-in-the-pull-request-comment) to find out more.

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

BenediktBurger commented 4 months ago

The temporary storage of the last message is based on the usage in #82 . If both PRs are merged, the process_json_message change and the definition of current_message should be removed.