Commit graph

393 commits

Author SHA1 Message Date
Joe Knapper
c09164a4e3 Apply suggestions from code review of branch equal-offsets
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-03-02 20:47:12 +00:00
Joe Knapper
7d3427ad2a Test equal overlaps 2026-03-02 19:31:04 +00:00
Julian Stirling
d7b4457a55 Do less coersion for stacks now labthings validates settings. 2026-03-02 18:19:11 +00:00
Julian Stirling
d4fbcb6d61 Apply suggestions from code review of branch backlash-in-stage
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-03-02 14:40:27 +00:00
Julian Stirling
0527990282 Use backlash compensation in smart scan and autofocus 2026-03-02 14:40:25 +00:00
Julian Stirling
c12814f0eb Add a load more backlash corrected move test cases. 2026-03-02 14:37:21 +00:00
Julian Stirling
c2b784e606 Add stage backlash correction 2026-03-02 14:37:21 +00:00
Julian Stirling
35819aa826 Track the backlash state of stages 2026-03-02 14:37:21 +00:00
Julian Stirling
2ae4f832bf Simplify setting model validation 2026-02-25 19:15:59 +00:00
Joe Knapper
63338f8ea0 From feedback 2026-02-25 19:15:59 +00:00
jaknapper
b211cfd4c5 Validate and test stack inputs
Update picamera hardware test
2026-02-25 19:15:56 +00:00
Joe Knapper
78b407fb43 Apply suggestions from code review of branch scan-params
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2026-02-25 19:14:15 +00:00
jaknapper
565204da59 Remove unneeded moves from basic stack
Update tests with better comments

Test a stack with both backlash compensation and offset
2026-02-25 19:14:15 +00:00
jaknapper
c28afe30ab Optional args, kwargs in pytest fixtures 2026-02-25 19:14:15 +00:00
jaknapper
294dd33bc0 Add tests for basicstack 2026-02-25 19:14:15 +00:00
Joe Knapper
a5b77cc2a3 Add settings to test_scan_workflows 2026-02-25 19:14:15 +00:00
Joe Knapper
67e43c90df Update histo_scan fixture with dummy settings 2026-02-25 19:14:15 +00:00
Joe Knapper
e750129de2 Initial commit, splitting params into focus, capture, stack 2026-02-25 19:14:15 +00:00
Joe Knapper
d7a27ee82f Apply suggestions from code review of branch scan-logs
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-02-23 13:45:02 +00:00
Julian Stirling
6db4e9394c Write tests for things getting their invocation logs 2026-02-23 11:35:04 +00:00
Julian Stirling
e5c490e295 Move tests for thing selector into a more generic file for testin thing utilities 2026-02-23 11:35:04 +00:00
Julian Stirling
882414596d Fix smart scan tests 2026-02-23 11:35:04 +00:00
Julian Stirling
66b4a06e87 Add spellchecking for camelCase, PascalCase, and kebab-case 2026-02-22 11:02:59 +00:00
Julian Stirling
1da554c7ef Update simulation camera tests 2026-02-18 22:31:26 +00:00
Joe Knapper
70a049e52f Test simulated camera objective behaviour 2026-02-18 17:26:52 +00:00
Joe Knapper
3f7de554d9 Merge branch 'jogging' into 'v3'
Generalised Jogging

Closes #680

See merge request openflexure/openflexure-microscope-server!476
2026-02-18 16:20:42 +00:00
Julian Stirling
d9deb1a7e7 Typos and clarity fixes from review of jogging branch
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-02-18 14:25:10 +00:00
jaknapper
143bbdfea1 Add URL to wiki if firmware out of date 2026-02-17 13:42:11 +00:00
Julian Stirling
56f68db5ca Move all dummy stage movement into a thread 2026-02-17 02:11:01 +00:00
Julian Stirling
0756677671 Test the jogging loop itself 2026-02-16 23:35:13 +00:00
Julian Stirling
22994bdf9b A test for _send_jog_command 2026-02-16 22:56:55 +00:00
Julian Stirling
b4c2a7271a Add tests for jog() action. 2026-02-16 22:17:35 +00:00
Julian Stirling
8a77c09305 Add some basic tests for base stage implementation 2026-02-16 21:37:05 +00:00
Julian Stirling
f4d11b3c83 Simplify JogCommand class structure, and remove unneeded event logic 2026-02-16 17:31:39 +00:00
Julian Stirling
728880e49d Fix jog queue blocking waiting to put new commands. 2026-02-16 17:31:39 +00:00
Julian Stirling
d4f26e8536 Fix static file check and associated tests 2026-02-15 16:03:06 +00:00
Joe Knapper
704fc5569f Merge branch 'flash-led-sim' into 'v3'
Illumination Thing

See merge request openflexure/openflexure-microscope-server!468
2026-02-12 16:37:53 +00:00
Joe Knapper
e0a8eb08c8 Test illumination baseclass 2026-02-12 15:33:58 +00:00
Joe Knapper
3423d4ed0e Test calling base Illumination 2026-02-11 16:28:15 +00:00
Joe Knapper
7da3dbbf8f Test illumination 2026-02-11 16:11:39 +00:00
jaknapper
d0f55786ce Test raster scan planner and z estimate from raster and snake 2026-02-11 15:13:17 +00:00
jaknapper
21f42d4698 Remove flash-led from SangaTest 2026-02-11 12:58:46 +00:00
Julian Stirling
351a66a42c Cleaning up workflows and fixing tests. 2026-02-11 11:03:08 +00:00
jaknapper
1f01717a1b Fix UI workflow test as order changed 2026-02-10 14:24:41 +00:00
jaknapper
f1845c3039 RectangleWorkflow as a baseclass 2026-02-10 14:05:38 +00:00
Joe Knapper
f230eef2dc New scan workflow for snake scans, move next pos into scan baseclass
Update tests that were testing wrong method, update all to new select_nearby_focus_site
2026-02-09 13:19:10 +00:00
Joe Knapper
b4957e0420 SnakeScan as a scan planner 2026-02-09 13:09:07 +00:00
Julian Stirling
cf941b1d11 Fix unit tests for scan workflows 2026-02-06 13:50:47 +00:00
Julian Stirling
504a47cbf8 Add some property tests for scanning 2026-01-18 23:37:10 +01:00
Julian Stirling
b26dda60a4 More tests and assoicated bugfixes 2026-01-18 23:19:44 +01:00