Commit graph

295 commits

Author SHA1 Message Date
Joe Knapper
dcf5751310 Merge branch 'live-scan-details' into 'v3'
Return more live scan details for the UI

See merge request openflexure/openflexure-microscope-server!641
2026-07-06 14:03:58 +00:00
Julian Stirling
543433f31e Apply suggestions from code review of branch live-scan-details
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-07-04 21:52:31 +00:00
Julian Stirling
90f106c87d Change the classes for gallery cards information to be XxxGalleryInfo
ScanInfo -> ScanGalleryInfo
CaptureInfo -> CaptureGalleryInfo - note there were two classes
called CaptureInfo, only one has been changed to deduplicate the names
2026-07-02 16:38:18 +01:00
Julian Stirling
d25ebabc77 Update unit tests for new cancel behaviour 2026-07-02 16:27:51 +01:00
Julian Stirling
26a2e1a582 Type narrowing for mypy 2026-07-02 16:02:23 +01:00
Julian Stirling
18e3978134 Send more data back from smart scan to enable if a zip was created 2026-07-02 15:17:22 +01:00
Julian Stirling
1aed597f9c Smart scan return cancelled if cancelled before stitching starts. 2026-07-02 15:17:22 +01:00
Julian Stirling
6db8fac613 Apply suggestions from code review of branch stitching-cancel
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2026-07-02 13:54:55 +00:00
Julian Stirling
c146b89e74 Adjust catching of InvocationCancelledError so stiching reports as cancelled
Also stop stitching scans that error. This is a legacy from regular errors
2026-06-30 20:33:41 +01:00
Joe Knapper
f35ad17449 Merge branch 'stitching-two' into 'v3'
Stitch 2 images

See merge request openflexure/openflexure-microscope-server!630
2026-06-30 17:31:00 +00:00
Joe Knapper
5811631c4f Stitch 2 images 2026-06-29 12:24:37 +01:00
Julian Stirling
2dcd386661 Add way for gallery providers to specify bulk actions. 2026-06-25 17:01:07 +01:00
Julian Stirling
a5828fbf41 Add filtering to gallery 2026-06-24 17:55:54 +01:00
Julian Stirling
cc6caa39d7 Gallery can delete all data. 2026-06-23 15:12:38 +00:00
Julian Stirling
9ed488e37d Complete first pass of capture mode implementation 2026-06-05 16:58:35 +01:00
Julian Stirling
aff860a086 Refactor camera streaming into modes 2026-05-27 08:43:10 +01:00
jaknapper
0f842c622b Test stitch all with mocking 2026-05-15 17:07:10 +01:00
jaknapper
bd796f98a1 Log during stitch all and handle errors 2026-05-15 15:40:15 +01:00
Richard Bowman
b6f4c9972e Exempt stitching and downloading scans from the global lock. 2026-05-13 12:58:50 +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
Julian Stirling
c7bb3e3c11 Improve some attribute/method names 2026-05-07 09:48:49 +01:00
Julian Stirling
a16d47ed61 ScanList gets scans from GalleryThing, no ongoing scans shown. 2026-05-06 16:01:09 +01:00
Julian Stirling
4583151345 Add runtime checkable protocol for checking gallery compatibility. 2026-05-06 14:42:44 +01:00
Julian Stirling
93d7d75b0d Create basic gallery class that finds Things that want to show data 2026-05-06 10:05:34 +01:00
Joe Knapper
b0c9223b04 Move pre_scan and switch stream as late as possible 2026-03-09 18:53:39 +00:00
Julian Stirling
45903f92a6 Create and mount application level data direcory rather than just a scan directory 2026-03-04 17:22:03 +00:00
Julian Stirling
0527990282 Use backlash compensation in smart scan and autofocus 2026-03-02 14:40:25 +00:00
Julian Stirling
c2b784e606 Add stage backlash correction 2026-03-02 14:37:21 +00:00
Julian Stirling
fbdea68ab7 Capture logs when scanning 2026-02-23 11:35:03 +00:00
Joe Knapper
3beb8e1147 Auto-populate workflow dropdown 2026-02-09 18:48:49 +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
b26dda60a4 More tests and assoicated bugfixes 2026-01-18 23:19:44 +01:00
Julian Stirling
eb93342d9f Add test of logic for selecting worflow. 2026-01-18 14:23:18 +00:00
Julian Stirling
57b20782a0 Further fixes after introducing scan workflow selection 2026-01-16 13:04:23 +00:00
Julian Stirling
21b779a4a5 Dynamic UI for scan workflows 2026-01-16 12:18:54 +00:00
Julian Stirling
c82523dd5b Start updating unit tests after refactoring into ScanWorkflows 2026-01-16 09:28:15 +00:00
Julian Stirling
11ef1217e0 Docstrings and tweaks of ScanWorflow refactor 2026-01-16 09:28:15 +00:00
Julian Stirling
c938560f00 Docstrings and final tweaks of ScanWorflow refactor 2026-01-15 21:59:53 +00:00
Julian Stirling
665622a802 First working interation of ScanWorkflows. Needs a tidy 2026-01-15 20:59:53 +00:00
Julian Stirling
adab5bae24 Start smart stack parameters in scan workflow 2026-01-15 16:05:02 +00:00
Julian Stirling
54ed78c832 Create aquisition routines for scan workflows, remove background detector from base ScanWorkflow class 2026-01-15 14:53:47 +00:00
Julian Stirling
b6343362b2 Start splitting ScanData into workflow specific data. 2026-01-15 12:59:06 +00:00
Julian Stirling
5ce74cad8a A start to implementing ScanWorkflow 2026-01-15 12:59:06 +00:00
Julian Stirling
ca46439269 Rename "active_detector" for background detecor. Improve thing selector coercion 2026-01-14 15:10:13 +00:00
Julian Stirling
3e8874188e Get UI working for background detector things 2026-01-14 10:05:04 +00:00
Julian Stirling
58aa3df587 Fix a number of issues with camera_stage_mapping 2026-01-09 15:18:05 +00:00
Julian Stirling
4060c06a2b Assorted type fixes 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
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