Commit graph

57 commits

Author SHA1 Message Date
Richard Bowman
b00f90aada Remove settings from SmartStackMixin
As properties now take validation settings from the final class, we no
longer need to redefine settings here, so I've removed them.
2026-05-13 11:34:22 +01:00
Richard Bowman
622fa17634 Enable validation for all Things and pick correct branch
This commit updates the branch to use Thing._class_settings instead of FEATURE_FLAGS for a safer way to implement new features.
2026-05-13 11:34:21 +01:00
jaknapper
1bb2a125bc Update comment 2026-03-27 11:28:58 +00:00
jaknapper
96d67672d9 Choose a correlation resize factor rounded to an int 2026-03-27 11:28:58 +00:00
Julian Stirling
17feec33e2 Apply suggestions from code review of branch smart_stack_as_mixin
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-03-25 12:26:32 +00:00
Julian Stirling
b7be12e183 Fix c-chip workflow and stop forcing the scan workflow mixin to be a workflow 2026-03-25 09:45:38 +00:00
Julian Stirling
b8db7ae2a1 Don't define both stacks for CChips 2026-03-24 16:21:18 +00:00
Julian Stirling
a82fcca339 Move smart stacking into a mixin so it can be re-used in other workflows 2026-03-24 15:58:04 +00:00
Joe Knapper
68c9f76fc0 Fix missing import 2026-03-12 16:11:41 +00:00
Joe Knapper
ffb9a4d509 Add CChip workflow to scan_workflows 2026-03-12 14:53:55 +00:00
Julian Stirling
c4d0c0e9da Explicit header, text and bullet blocks rather than one HTML block in ui spec 2026-03-10 15:25:37 +00:00
Julian Stirling
0bfec5d046 Apply suggestions from code review of branch dynamic-ui
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-03-10 15:25:37 +00:00
Julian Stirling
eccf26851e Reintroduce recactive button state for background detect 2026-03-10 15:25:37 +00:00
Julian Stirling
4da05b1869 Move background detect settings into SlideScan 2026-03-10 15:25:37 +00:00
Julian Stirling
bfef998300 Move more of scan workflow UI into the server 2026-03-10 15:25:37 +00:00
Julian Stirling
ca21ab03c6 Tidy up server specified interface 2026-03-10 15:25:37 +00:00
Julian Stirling
9f2cde2275 Implement recursive Interface in vue 2026-03-10 15:25:36 +00:00
Julian Stirling
ac9852a7ad Merge branch 'less-stack-coersion' into 'v3'
Do less coersion for stacks now labthings validates settings.

See merge request openflexure/openflexure-microscope-server!516
2026-03-03 10:02:05 +00:00
Julian Stirling
1dce732a9a Always log dx and dy steps for Histoscan 2026-03-02 20:53:16 +00:00
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
5a79e4ffd3 Allow histo scans with equal dx and dy 2026-03-02 19:24:20 +00:00
Julian Stirling
d7b4457a55 Do less coersion for stacks now labthings validates settings. 2026-03-02 18:19:11 +00:00
Julian Stirling
296e044a86 Further subclassing of workflow settings 2026-02-25 19:15:59 +00:00
Joe Knapper
63338f8ea0 From feedback 2026-02-25 19:15:59 +00:00
jaknapper
80760a7d8f Fix docstring 2026-02-25 19:15:58 +00:00
Joe Knapper
331ceb705d Changes based on review, mostly enums and moved stack params 2026-02-25 19:14:15 +00:00
Joe Knapper
37e3450670 Move CaptureParams into camera from autofocus 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
jaknapper
2c532e11c8 Max_range cant be negative 2026-02-24 12:45:42 +00:00
Julian Stirling
484c7a757e Apply suggestions from code review of branch numerical-input-limits
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-02-19 15:36:44 +00:00
Julian Stirling
e66fe5a35a Add way to set spinner step without changing HTTP API 2026-02-19 13:35:14 +00:00
Julian Stirling
cd14f470f6 Use lt.property/setting validatiors to set numerical input range and step 2026-02-19 13:34:41 +00:00
Joe Knapper
a027111022 Apply suggestions from code review of branch Extend-autofocus-in-scan
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-02-16 13:38:53 +00:00
Joe Knapper
03a8e2ab79 Increase dz range to 500 to 3000 2026-02-13 16:40:56 +00:00
Julian Stirling
511b37176e Add clarifying docstring 2026-02-11 11:03:08 +00:00
Julian Stirling
5d5bae7f79 Apply suggestions from code review of branch More-workflow-layers
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-02-11 11:03:08 +00:00
Julian Stirling
9e477a26d8 Simplify planners a little to consolidate snake and raster 2026-02-11 10:39:30 +00:00
Julian Stirling
1221b6ca02 Apply suggestions from code review of branch More-workflow-layers
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-02-10 16:40:11 +00:00
Julian Stirling
15798d9b7d Further layering of the classes for scan workflows 2026-02-10 16:02:18 +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
jaknapper
6294cde471 Fully subclass Rectangle basescanner for raster and snake 2026-02-09 19:35:19 +00:00
Joe Knapper
0177596fb6 Add raster scan, with generic typing to allow subclassed settings 2026-02-09 18:48:49 +00:00
Joe Knapper
eb88e1f1c0 Apply suggestions from code review of branch snake-scan
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-02-09 16:05:49 +00:00
Joe Knapper
7413aa57f8 Docstring and typehints suggestions from @julianstirling 2026-02-09 15:08:53 +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
Julian Stirling
8f30f08bdf Apply suggestions from code review of branch scan-workflows
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-02-06 13:28:30 +00:00
Julian Stirling
b22fcf4b88 Complete testing of HistoScanWorkflow 2026-01-16 18:16:50 +00:00
Julian Stirling
1bc6b9e0c4 Add a number of extra tests to ScanWorkflows 2026-01-16 17:02:07 +00:00
Julian Stirling
21b779a4a5 Dynamic UI for scan workflows 2026-01-16 12:18:54 +00:00