From 1cf9d5045f38dc80cd2bee975a1e8c6920f0764d Mon Sep 17 00:00:00 2001 From: CamDavidsonPilon Date: Thu, 30 May 2024 11:51:10 -0400 Subject: [PATCH] new self test should use baseline --- CHANGELOG.md | 16 ++++++++++++---- pioreactor/actions/self_test.py | 4 ++++ 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2703f507..66fe8c11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,18 @@ ### Upcoming - - Fix for Pioreactors page when _no workers are added to the cluster_. - - Fix for UI labels when trying to remove multiple labels from Pioreactors. +#### Highlights + - New /pioreactor/ page in the UI for a detailed view of an individual Pioreactor, including a realtime visualization of the Pioreactor! + +#### Enhancements + - UI now supports external MQTT broker. This configuration lives in the same place as the exiting MQTT settings: in the config.ini, under `[mqtt]`. - Added groupings on the Experiment dropdown to organize "Active" and "Inactive" experiments. An active experiment has >= 1 Pioreactor assigned to it. - - UI now supports changing the MQTT broker. This configuration lives in the config.ini, under `[mqtt]`. - - New log topic that partitions by the level. This should make subscribers to the log topic slimmer (like the UI, who would have to accept and filter _all_ messages). Should result in a performance increase. + +#### Breaking changes + - New log topic that partitions by the level. This should make subscribers to the log topic slimmer (like the UI, who previosly would have to accept _all_ messages and filter to what they needed). Should result in a performance increase. + +#### Bug fixes + - Fix for Pioreactors page when _no workers are added to the cluster_. + - Fix for UI labels when trying to remove labels from Pioreactors. ### 24.5.22 diff --git a/pioreactor/actions/self_test.py b/pioreactor/actions/self_test.py index 997fc1ea..806a9f24 100644 --- a/pioreactor/actions/self_test.py +++ b/pioreactor/actions/self_test.py @@ -276,6 +276,10 @@ def test_REF_is_lower_than_0_dot_256_volts( ) adc_reader.tune_adc() + blank_reading = adc_reader.take_reading() + adc_reader.set_offsets(blank_reading) # set dark offset + adc_reader.clear_batched_readings() + with change_leds_intensities_temporarily( {ir_channel: ir_intensity}, unit=unit,