Commit graph

3967 commits

Author SHA1 Message Date
Julian Stirling
26d395f05d Type fixes for system Thng 2026-01-09 15:18:04 +00:00
Julian Stirling
51512f36f7 Unify UI for action_button_for and property_control_for 2026-01-09 15:18:04 +00:00
Julian Stirling
afbc00acef Improve __enter__ typing for things 2026-01-09 15:18:04 +00:00
Julian Stirling
d52548cc13 Improve camera buffer typing 2026-01-09 15:18:04 +00:00
Julian Stirling
e0c63ab354 Unify camera capute signatures 2026-01-09 15:18:04 +00:00
Julian Stirling
dcf329f1c5 Fix typing in stage_measure 2026-01-09 15:18:04 +00:00
Julian Stirling
85671e897e Remove vesitgial code from utilities and fix types 2026-01-09 15:18:04 +00:00
Julian Stirling
4060c06a2b Assorted type fixes 2026-01-09 15:18:04 +00:00
Julian Stirling
472aa03822 Ignore dmypy.json 2026-01-09 15:18:04 +00:00
Julian Stirling
99f3d2d311 Start fixing some issues found by MyPy 2026-01-09 15:18:04 +00:00
Julian Stirling
ff976e7187 Merge branch 'test-env' into 'v3'
Use new LabThingsTestEnv thoughout tests

See merge request openflexure/openflexure-microscope-server!454
2026-01-06 13:10:25 +00:00
Julian Stirling
4a8b88b34b Fix config path in integration test. Don't use fallback in integration test as it masks failure. 2025-12-19 09:31:45 +00:00
Julian Stirling
fc7cda0165 Update picamera coverage zip 2025-12-18 23:02:43 +00:00
Julian Stirling
765404656a Fix typos when moving hardware test suit to new test env structure 2025-12-18 23:02:04 +00:00
Julian Stirling
782977e01c Move integration tests to tests dir 2025-12-18 17:30:56 +00:00
Julian Stirling
ef9a88104b Move hardware-specific-tests to tests dir 2025-12-18 17:28:05 +00:00
Julian Stirling
4e043f3df2 Move lt_test_utils into a shared testing directory 2025-12-18 17:19:48 +00:00
Julian Stirling
d08d4cd325 Move unit tests to their own sub-dir in tests 2025-12-18 17:08:02 +00:00
Julian Stirling
62b414af3c Update docs and internal names for LabThingsTestEnvironment 2025-12-18 16:43:38 +00:00
Julian Stirling
17b1f0e72a Update picamera tests to use new test environment 2025-12-18 16:26:37 +00:00
Julian Stirling
b70d36c629 Move main test suite to new use new test environment. 2025-12-18 16:26:37 +00:00
Julian Stirling
0d09dc58da Add way to get thing from test environment by type 2025-12-18 16:26:37 +00:00
Julian Stirling
6be260cb59 Merge branch 'final-dependency-removals' into 'v3'
Final dependency removals

See merge request openflexure/openflexure-microscope-server!453
2025-12-18 12:43:21 +00:00
Julian Stirling
c1a5e35130 Update picamera coverage zip 2025-12-17 17:11:23 +00:00
Julian Stirling
3ea7be6531 Update and simplify smart scan tests 2025-12-17 16:44:54 +00:00
Julian Stirling
4ad1fff656 Remove final dependencies 2025-12-17 15:52:03 +00:00
Julian Stirling
be5f9630ca A fond farewell to the last of the InvocationLoggers 2025-12-17 15:52:03 +00:00
Julian Stirling
f6d4b368d0 Update tests for not having cancel hooks 2025-12-17 14:04:37 +00:00
Julian Stirling
8f805c8e68 Add a testing environment/harness for easily running actions without blocking 2025-12-17 14:04:37 +00:00
Julian Stirling
510a44dd17 Remove all cancel hooks from smart scan and stitching 2025-12-17 14:04:37 +00:00
Julian Stirling
150e69d235 Merge branch 'continue-removing-deps' into 'v3'
Removing dependencies from CSM, autofocus, and stage_measure

See merge request openflexure/openflexure-microscope-server!452
2025-12-17 11:57:07 +00:00
Julian Stirling
5b15e2d34c Fix camera stage mapping logging 2025-12-17 11:20:41 +00:00
Julian Stirling
e1dfceb0bd Remove one final invocation logger dep from autofocus 2025-12-17 11:20:41 +00:00
Julian Stirling
09336c9cb5 Apply suggestions from code review of branch continue-removing-deps
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-12-17 10:08:47 +00:00
Julian Stirling
5a391bff1c Update ROM tests 2025-12-16 17:27:22 +00:00
Julian Stirling
7f8fb623ef Remove deps from stage_measure 2025-12-16 17:27:22 +00:00
Julian Stirling
189e82e8dc Remove deps from autofocus 2025-12-16 17:27:22 +00:00
Julian Stirling
4a327cc901 Remove deps from camera_stage_mapping 2025-12-16 16:24:04 +00:00
Julian Stirling
b5fdc0778d Merge branch 'start-to-remove-deps' into 'v3'
Start to remove deps

See merge request openflexure/openflexure-microscope-server!451
2025-12-16 16:23:28 +00:00
Julian Stirling
b22341f29c Update picamera coverage zip 2025-12-16 14:57:13 +00:00
Julian Stirling
4a72521531 Remove deps from system thing 2025-12-16 14:57:13 +00:00
Julian Stirling
3332bc5e1d Update tests for stage without deps 2025-12-16 14:57:13 +00:00
Julian Stirling
426178ba31 Remove dependencies from stages 2025-12-16 14:57:12 +00:00
Julian Stirling
4b845fcf18 Remove dependencies from camera 2025-12-16 14:22:31 +00:00
Julian Stirling
7038ecdf0b Merge branch 'update-for-labthings0.0.12' into 'v3'
Update to be compatible with labthings-fastapi 0.0.12/0.0.13

See merge request openflexure/openflexure-microscope-server!450
2025-12-16 14:18:27 +00:00
Julian Stirling
e3904b98ee Update picamera coverage zip 2025-12-16 13:43:32 +00:00
Julian Stirling
ddc81f9c17 Apply suggestions from code review of branch update-for-labthings0.0.12
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-12-16 13:32:57 +00:00
Julian Stirling
a67afdf21f Fix bug in simulation frame timing which may be affecting integration test 2025-12-16 13:32:57 +00:00
Julian Stirling
942e9e5024 Fix type for ROM calibrated_range 2025-12-16 13:32:57 +00:00
Julian Stirling
d3df6ba588 Bump labthings-fastapi (0.0.13) and stitching (0.2.3) versions 2025-12-16 13:32:57 +00:00