Commit graph

3992 commits

Author SHA1 Message Date
Julian Stirling
11379d8fa7 Allow colour to be set for simulation sample. 2026-01-12 16:17:10 +00:00
Julian Stirling
7b9f4aa202 Expose sample density and sample repeat for simulation camera to the UI in camera settings rather than as init options 2026-01-12 16:17:10 +00:00
Julian Stirling
159e2d14ab Unify canvas and sample shape for simulation, set flag for if repeating. 2026-01-12 16:17:10 +00:00
Julian Stirling
99f7802195 Create sprites upsampled, before downsampling so they hhave a smoother edge interpolation 2026-01-12 16:17:10 +00:00
Julian Stirling
fa249a0f24 Calculate simulation images downsampled for speed 2026-01-12 16:17:10 +00:00
Julian Stirling
1e36811796 Merge branch 'type-fixes' into 'v3'
Type fixes

See merge request openflexure/openflexure-microscope-server!455
2026-01-12 16:10:25 +00:00
Julian Stirling
4266923123 Update picamera coverage zip 2026-01-12 15:33:13 +00:00
Julian Stirling
06cab8a6a4 Use type[] not Type[] in typehints, and add clarification comment. 2026-01-12 15:28:10 +00:00
Julian Stirling
560ca6e9fe Tweak a docstring as the variables out of date 2026-01-12 15:28:10 +00:00
Julian Stirling
3db83534e8 Update for how Labthings-Fastapi 0.0.14 impements the fallback server 2026-01-09 17:43:11 +00:00
Julian Stirling
b46f8af8e7 Bump labthings-fastapi to 0.0.14 and fix error types in unit tests 2026-01-09 17:17:24 +00:00
Julian Stirling
e85a1d3080 Final test fixes 2026-01-09 15:18:06 +00:00
Julian Stirling
5d25067a21 Update CI to fail if MyPy fails but to still give code quality report 2026-01-09 15:18:06 +00:00
Julian Stirling
c1ad445517 Fix some final type issues in Autofocus 2026-01-09 15:18:06 +00:00
Julian Stirling
141ccc06c1 Some minor type fixes 2026-01-09 15:18:05 +00:00
Julian Stirling
58aa3df587 Fix a number of issues with camera_stage_mapping 2026-01-09 15:18:05 +00:00
Julian Stirling
18e89aa148 More typing fixes 2026-01-09 15:18:05 +00:00
Julian Stirling
8890590551 Type fix stitching 2026-01-09 15:18:05 +00:00
Julian Stirling
2e03ad28c4 Type fix scan directories 2026-01-09 15:18:05 +00:00
Julian Stirling
2701576a2c Properly type the generic Background Detector class 2026-01-09 15:18:05 +00:00
Julian Stirling
7abede0db0 Fix type errors in remaining Things 2026-01-09 15:18:05 +00:00
Julian Stirling
99eee2e912 Fix camera type issues 2026-01-09 15:18:05 +00:00
Julian Stirling
9976c5cb84 Fix stage typehints 2026-01-09 15:18:05 +00:00
Julian Stirling
afeca2bbed Fix picamera tuning setting type 2026-01-09 15:18:05 +00:00
Julian Stirling
5df5651fc2 Adjust name for a number of propery/setting setters 2026-01-09 15:18:05 +00:00
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