Commit graph

1031 commits

Author SHA1 Message Date
Joe Knapper
906b8be82c Merge branch 'start-gallery-thing' into 'v3'
Start implementing GalleryThing

See merge request openflexure/openflexure-microscope-server!576
2026-05-07 09:51:47 +00:00
Julian Stirling
c7bb3e3c11 Improve some attribute/method names 2026-05-07 09:48:49 +01:00
Julian Stirling
aeb337f9d1 Merge branch 'choose_int_downsample' into 'v3'
Choose a correlation resize factor rounded to an int

See merge request openflexure/openflexure-microscope-server!541
2026-05-07 08:14:41 +00: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
Julian Stirling
cc681a666c Change shutdown command depending on OS versions 2026-04-30 14:48:35 +01:00
Julian Stirling
5b14f8d820 Add method for checking OS version. 2026-04-30 14:14:24 +01:00
Richard Bowman
9334e99551 Fix typing of JPEGSharpnessMonitor attributes
appends should be done on the underlying `_`-prefixed attributes, not on the `Sequence` typed properties.
2026-04-28 14:58:55 +01:00
Richard Bowman
d2aebf8b10 Make properties of JPEGSharpnessMonitor read-only
For thread-safety reasons we should not modify the lists used by
`JPEGSharpnessMonitor`. This commit marks them as read-only properties
and types them as `Sequence` so `mypy` should flag if they get modified.
2026-04-28 14:50:04 +01:00
Joe Knapper
924676ff5d Merge branch 'stack-trends' into 'v3'
Stack trends

Closes #752

See merge request openflexure/openflexure-microscope-server!564
2026-04-16 12:20:01 +00:00
Joe Knapper
4da8172a16 Updates from review, mark tests as allowed to fail 2026-04-16 11:49:04 +01:00
jaknapper
bc6ea9a1ca Manually test for increasing or decreasing stacks 2026-04-02 17:43:52 +01:00
Beth Probert
7106ce1302 Set debug default value to False 2026-04-02 15:09:55 +01:00
Beth Probert
01954167ab Merge branch 'v3' into labthings-debug-logging-config 2026-04-02 10:50:06 +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
Joe Knapper
74476f18a0 Merge branch 'smart_stack_as_mixin' into 'v3'
Move smart stacking into a mixin so it can be re-used in other workflows

See merge request openflexure/openflexure-microscope-server!554
2026-03-25 13:45:09 +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
5283c1a3c5 Extra normpath in Thing startup 2026-03-24 12:40:19 +00:00
Joe Knapper
1d11e7044e Move from posix path to os path 2026-03-23 16:59:57 +00:00
Joe Knapper
91075af70e Apply suggestions from code review of branch sigkill-handling
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2026-03-18 14:51:32 +00:00
Joe Knapper
0618263830 Switch to ignoring line 2026-03-18 14:12:27 +00:00
Joe Knapper
1f43d1cc53 Explicit windows check before sigkill for mypy 2026-03-18 12:40:55 +00:00
Joe Knapper
19f422b2cf Merge branch 'exposure-test' into 'v3'
Flush more frames and use a request when doing exposure time

Closes #639

See merge request openflexure/openflexure-microscope-server!540
2026-03-17 14:30:24 +00:00
jaknapper
0bc6e45df9 Picamera test 2026-03-16 16:33:07 +00:00
jaknapper
a11d46777f Only drop frames when setting min exposure time 2026-03-16 15:01:10 +00:00
Joe Knapper
3b84c266b4 Apply suggestions from code review of branch exposure-test
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2026-03-16 14:31:21 +00:00
jaknapper
ae04f3b133 Drop frame drop to 2 2026-03-13 13:22:56 +00:00
jaknapper
a4aac53072 Flush more frames and use a request when doing exposure time 2026-03-13 10:48:22 +00:00
Joe Knapper
68c9f76fc0 Fix missing import 2026-03-12 16:11:41 +00:00
Joe Knapper
5ce77538d1 Fix tests now we dont do extra backlash moves 2026-03-12 14:53:55 +00:00
jaknapper
b43150c8bb Remove backlash correction from basic stack, as this is handled by move rel 2026-03-12 14:53:55 +00:00
Joe Knapper
ffb9a4d509 Add CChip workflow to scan_workflows 2026-03-12 14:53:55 +00:00
Julian Stirling
36111f4da3 Merge branch 'stream-rder' into 'v3'
Handle scan settings, then change stream, then pre-scan procedure when scanning

See merge request openflexure/openflexure-microscope-server!442
2026-03-11 11:52:03 +00:00
Joe Knapper
2e1066477e Add parser.path to html sanitiser, fixing tests 2026-03-11 10:24:40 +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
85ebfef44a Improve and test html sanitisation 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
a11f9b7f62 Start making a structure for general UI specification 2026-03-10 15:25:36 +00:00
Joe Knapper
2e99e4c4c2 Merge branch '523-improve-validation-checks' into 'v3'
Improve Validation Checks

Closes #523

See merge request openflexure/openflexure-microscope-server!524
2026-03-09 19:19:18 +00:00
Joe Knapper
b0c9223b04 Move pre_scan and switch stream as late as possible 2026-03-09 18:53:39 +00:00