You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clean up pwms better (especially when used in a REPL or script), and make self_test run in main thread to clean up properly (self_test is slower, but it's a good tradeoff)
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@
38
38
- Fixed calibration detail pages so `Set active` / `Set inactive` waits for backend task completion before refetching, preventing stale "Set active" and missing "Active" status until manual refresh.
39
39
- Made IR reference-noise gating in OD reading scale with the configured reading interval (baseline `std <= 0.01` at `5.0s`), including when the interval is changed at runtime.
40
40
- Fixed Inventory model updates and active/inactive toggles to show success only after confirmed backend `2xx` responses, with explicit error feedback on failure.
41
+
- Fixed changing RPM during a paused stirring would start stirring again.
# for led_channel in ALL_LED_CHANNELS: # we use to check all LED channels, but most users don't need to check all, also https://github.com/Pioreactor/pioreactor/issues/445
179
178
forled_channelin [ir_led_channel]: # fast to just check IR
# we are probably going to saturate the PD - clearly we are detecting something though!
216
+
logger.debug(
217
+
f"Saw {avg_reading[pd_channel].reading:.2f} for pair pd_channel={pd_channel}, led_channel={led_channel}@intensity={intensity}. Saturation possible. No solution implemented yet! See issue #445"
218
+
)
219
+
finally:
201
220
led_intensity(
202
221
{led_channel: 0},
203
222
unit=unit,
204
223
experiment=experiment,
205
224
verbose=False,
206
225
source_of_event="self_test",
207
226
)
208
-
sleep(intensity/100) # let it cool down in proportion to the intensity
# we are probably going to saturate the PD - clearly we are detecting something though!
216
-
logger.debug(
217
-
f"Saw {avg_reading[pd_channel].reading:.2f} for pair pd_channel={pd_channel}, led_channel={led_channel}@intensity={intensity}. Saturation possible. No solution implemented yet! See issue #445"
218
-
)
219
227
220
228
# compute the linear correlation between the intensities and observed PD measurements
0 commit comments