Commit graph

3918 commits

Author SHA1 Message Date
Julian Stirling
d3df6ba588 Bump labthings-fastapi (0.0.13) and stitching (0.2.3) versions 2025-12-16 13:32:57 +00:00
Julian Stirling
7a26b262a9 Update the picamera tests for labthings 0.0.12 syntax 2025-12-15 18:40:47 +00:00
Julian Stirling
baf0ff9a11 Updating for changes related to NotConnectedToServerErrors 2025-12-15 17:18:30 +00:00
Julian Stirling
8ed76b4baf Temporarily set labthings-fastapi dependancy to point at github not pypi during testing 2025-12-15 16:36:56 +00:00
Julian Stirling
f79505546c Final updates for main test suite for labthings-fastapi 0.0.12 compatibility 2025-12-14 22:11:08 +00:00
Julian Stirling
dec90f5b6b Update legacy_api.py test_sangaboard and test_server_cli so tests pass for labthings-fastapi 0.0.12 2025-12-14 20:53:33 +00:00
Julian Stirling
70fc3516e6 Update test_camera and test_dummy_server for labthings-fastapi 0.0.12 2025-12-14 20:04:48 +00:00
Julian Stirling
0c3de60629 Update test_cameras to use create_thing_without_server 2025-12-14 19:46:57 +00:00
Julian Stirling
cfbb7cf7f9 Start fixing tests. This involves further blocking portal changes.
This will need PR 225 of labthings-fastapi to be merged to run.
2025-12-14 19:21:06 +00:00
Julian Stirling
9ef417971f Remove a load more /names/ 2025-12-14 18:23:33 +00:00
Julian Stirling
e7f669cb56 No blocking portals 2025-12-14 18:23:33 +00:00
Julian Stirling
ca3f339cbe Simulation camera get dummy stage from thing_slot 2025-12-14 18:23:33 +00:00
Julian Stirling
c318fddf89 Update fastapi_endpoint to endpoint 2025-12-14 18:23:33 +00:00
Julian Stirling
5d3aa71b4f Update things to have thing_server_interface, and further fixes to properties 2025-12-14 18:23:27 +00:00
Julian Stirling
a0b8a71477 Update config files to use names not paths 2025-12-14 18:23:26 +00:00
Julian Stirling
5eea78cac7 update action, property, and setting syntax for labthings-fastapi 0.0.12 2025-12-14 18:23:26 +00:00
Julian Stirling
bbbfaf8602 Get fallback server working again 2025-12-14 11:33:03 +00:00
Julian Stirling
1645b0f6a7 Merge branch 'prep-for-v3.0.0-alpah4' into 'v3'
Prep for v3.0.0-alpha4

See merge request openflexure/openflexure-microscope-server!449
2025-12-08 16:48:15 +00:00
Julian Stirling
368c980c77 Pin fastapi-version until upstream issue in LabThings is fixed 2025-12-08 16:06:24 +00:00
Julian Stirling
5375e9578b Update version for alpha 4 release and update changelog 2025-12-08 15:07:14 +00:00
Julian Stirling
6d74a68eca Bump stitching version to v0.2.2 2025-12-08 14:37:13 +00:00
Joe Knapper
32ec08d4f4 Merge branch 'bump-stitching-0.2.1' into 'v3'
Bump required stitching version to 0.2.1

See merge request openflexure/openflexure-microscope-server!448
2025-12-03 12:50:13 +00:00
Julian Stirling
c3cb8436dc Bump required stitching version 2025-12-03 11:14:47 +00:00
Julian Stirling
13eb50877d Merge branch 'isort' into 'v3'
Formalise import sorting rules and enforce

See merge request openflexure/openflexure-microscope-server!438
2025-12-02 17:46:43 +00:00
Julian Stirling
42413c6b00 Update picamera zip 2025-12-02 17:10:27 +00:00
Julian Stirling
7bc4c514a6 Autofix import order 2025-12-02 16:26:15 +00:00
Julian Stirling
98cdb276d8 Add ruff isort rules with custom group for our own external packages 2025-12-02 16:25:11 +00:00
Joe Knapper
99afe89c10 Merge branch 'scanning-stability' into 'v3'
Improve the stability of scanning

Closes #599 and #600

See merge request openflexure/openflexure-microscope-server!434
2025-12-02 15:47:03 +00:00
Julian Stirling
38c596fb49 Merge branch 'Sanga-firmware-check' into 'v3'
Log an error if the sangaboard firmware is below v1.0.4

Closes #623

See merge request openflexure/openflexure-microscope-server!447
2025-12-02 15:14:50 +00:00
Julian Stirling
dd7c135fa8 Fix comment in sangaboard firmware check 2025-12-02 14:36:10 +00:00
Julian Stirling
240b7d1ba5 Use semver library for checking sangaboard firmware version. 2025-12-02 11:55:56 +00:00
Julian Stirling
797dda3514 Add failing unit test for sangaboard version before v1 2025-12-02 11:00:41 +00:00
Julian Stirling
d482a4cb36 Update picamera coverage info 2025-12-02 10:15:25 +00:00
Julian Stirling
5017fea9d1 A couple of final edits suggested in review 2025-12-02 09:57:25 +00:00
Julian Stirling
9b58f4d59e Apply suggestions from code review of branch scanning-stability
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-12-02 09:57:25 +00:00
Julian Stirling
2749a1818c Add unit tests for ChannelDeviationLUV background detector 2025-12-02 09:57:25 +00:00
Julian Stirling
e5d2ebbb79 Add tests for checking stack result 2025-12-02 09:57:24 +00:00
Julian Stirling
a15f23bec2 Add unit tests for captureing images in a stack 2025-12-02 09:57:24 +00:00
Julian Stirling
573330dede Add tests for z_stack 2025-12-02 09:57:24 +00:00
Julian Stirling
b9c58b70c9 Looping autofocus errors on failure to find focus. Test looping autofocus algorithm 2025-12-02 09:57:24 +00:00
Julian Stirling
13e065a44d Add test for the outer smart stack algorithm 2025-12-02 09:57:24 +00:00
Julian Stirling
aa704239ed Modify background detect check to check for all squares having no std. As LUV appears insensitive to low colour noise 2025-12-02 09:57:24 +00:00
Julian Stirling
3ebc4578d3 Show which background detector is active in GUI 2025-12-02 09:57:24 +00:00
Julian Stirling
1f2099e46f Add minimum standard deviations for ColourChannelDetectLUV 2025-12-02 09:57:24 +00:00
Julian Stirling
a2a6d870e2 Make turing point check in z-stack optional 2025-12-02 09:57:24 +00:00
Julian Stirling
873968877b Log warning rather than error if the named background detector doesn't exist to prevent not booting if detectors change 2025-12-02 09:57:24 +00:00
Julian Stirling
79c94c96ed Set channel minima and error if any LUV channels have std==0 2025-12-02 09:57:24 +00:00
Julian Stirling
38b8c5baa5 Apply suggestions from code review of branch scanning-stability
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-12-02 09:57:24 +00:00
Julian Stirling
23f87869ac Add a new background detector based on an 8x8 grid 2025-12-02 09:57:24 +00:00
Julian Stirling
cf92d4f3ac Make autofocus considerably stricter, forcing a parabolic fit, and only one turning point
Background can still pass this much stricter check
2025-12-02 09:57:24 +00:00