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
d7421ccea5
Merge branch 'stitching-cancel' into 'v3'
...
Adjust catching of InvocationCancelledError so stiching reports as cancelled
See merge request openflexure/openflexure-microscope-server!637
2026-07-02 14:17:12 +00: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
8f40f4d4e4
Merge branch 'rename-rom-thing' into 'v3'
...
Change RangeofMotionThing to StageMeasureThing
See merge request openflexure/openflexure-microscope-server!626
2026-06-29 14:45:28 +00:00
Julian Stirling
06a3a5a92e
Apply suggestions from code review of branch rename-rom-thing
...
Co-authored-by: Chish36 <b.chisholm2002@gmail.com>
2026-06-29 14:16:54 +00:00
Julian Stirling
bd01abc7d1
Apply suggestions from code review of branch rename-rom-thing
...
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-06-29 13:53:13 +00:00
Julian Stirling
c128ecfcae
Apply suggestions from code review of branch rename-rom-thing
2026-06-29 11:55:57 +00:00
Joe Knapper
5811631c4f
Stitch 2 images
2026-06-29 12:24:37 +01:00
Julian Stirling
6a571616c9
Change RangeofMotionThing to StageMeasureThing
...
Also changing the data tracker and name.
2026-06-25 19:53:53 +01:00
Julian Stirling
2dcd386661
Add way for gallery providers to specify bulk actions.
2026-06-25 17:01:07 +01:00
Julian Stirling
c77cef1d9c
Improve testing of gallery and behaviour if card data not set for a gallery provider
2026-06-25 10:28:02 +01:00
Julian Stirling
c4ae7f7c90
Only delete selected data types from gallery button.
2026-06-24 17:55:54 +01:00
Julian Stirling
a5828fbf41
Add filtering to gallery
2026-06-24 17:55:54 +01:00
Julian Stirling
d31d1154cc
Apply suggestions from code review of branch image-capture
...
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-06-24 11:35:41 +01:00
Julian Stirling
0e24bb01f4
Add better testing for camera gallery functions
2026-06-23 15:12:38 +00:00
Julian Stirling
03d74bb044
Improve gallery tests and fix behaviour if a provider errors
2026-06-23 15:12:38 +00:00
Julian Stirling
cc6caa39d7
Gallery can delete all data.
2026-06-23 15:12:38 +00:00
Julian Stirling
5a07721fc2
Start showing images in gallery (requires tidy)
2026-06-23 15:12:38 +00:00
Julian Stirling
4d5fd0b698
Provide an API endpoint for camera snapshots rather than relying on legacy.
2026-06-21 13:41:29 +01:00
Julian Stirling
071d62e8a0
Apply suggestions from code review of branch camera_modes
...
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-06-05 16:58:35 +01:00
Julian Stirling
bc7204f554
Ensure camera controls are read from the camera when changing stream
2026-06-05 16:58:35 +01:00
Julian Stirling
c7d84e2674
Fix HQ camera capture and streaming modes.
2026-06-05 16:58:35 +01:00
Julian Stirling
2faf324a59
Use quick capture for CSM
2026-06-05 16:58:35 +01:00
Julian Stirling
08e58a3c1d
Fix docstrings
2026-06-05 16:58:35 +01:00
Julian Stirling
fa21224eaa
reinstate capture_to_memory and save_from_memory as actions
2026-06-05 16:58:35 +01:00
Julian Stirling
9dbdad4f8c
Fix robust capture logic to break on success
2026-06-05 16:58:35 +01:00
Julian Stirling
29518e9cb9
Update hardware tests and fix PNG saving with picamera
2026-06-05 16:58:35 +01:00
Julian Stirling
cdab10ae46
Tweak types and fix mock persistence between tests
2026-06-05 16:58:35 +01:00
Julian Stirling
2c215b9f81
Add unit tests for RelativeDataPath and save_from_memory
2026-06-05 16:58:35 +01:00
Julian Stirling
c1915759b4
Update unit tests for capture mode.
2026-06-05 16:58:35 +01:00
Julian Stirling
9ed488e37d
Complete first pass of capture mode implementation
2026-06-05 16:58:35 +01:00
Julian Stirling
83ceb82ea8
Use a path object that supports setting a Thing for the data directory.
...
This allows us to ensure that arbitrary paths are not selected via the API.
2026-06-05 16:58:35 +01:00
Julian Stirling
c18d43a3a5
Start to move rest of python onto refactored camera API
2026-06-05 16:58:35 +01:00
Julian Stirling
e3361ebec8
Update cameras inline with base camera rebase
2026-06-05 16:58:35 +01:00
Julian Stirling
feea7135b1
First pass at rebasing for camera modes
2026-06-05 16:58:35 +01:00
Chish36
8d7f26d23c
Changed docstring for capture modes
2026-07-01 13:37:01 +01:00
Julian Stirling
aff860a086
Refactor camera streaming into modes
2026-05-27 08:43:10 +01:00
Joe Knapper
4e58d613d0
Merge branch 'stitch-all-logging' into 'v3'
...
Log during stitch all and handle errors
Closes #710
See merge request openflexure/openflexure-microscope-server!593
2026-05-15 16:36:15 +00:00
jaknapper
0f842c622b
Test stitch all with mocking
2026-05-15 17:07:10 +01:00
Joe Knapper
bea1e35d61
Merge branch 'sharpness-monitor-none' into 'v3'
...
Sharpness monitor accepting 0 as None
Closes #776
See merge request openflexure/openflexure-microscope-server!592
2026-05-15 15:27:52 +00:00
jaknapper
a278b700ef
Change check for record
2026-05-15 15:45:04 +01:00
jaknapper
bd796f98a1
Log during stitch all and handle errors
2026-05-15 15:40:15 +01:00
Julian Stirling
49ae6fcd70
Merge branch 'save-rom-data' into 'v3'
...
Save useful ROM data to data directory
See merge request openflexure/openflexure-microscope-server!590
2026-05-15 14:16:04 +00:00
Julian Stirling
94a3fead9c
Apply suggestions from code review of branch save-rom-data
2026-05-15 14:49:40 +01:00
jaknapper
78c01de6d5
Sharpness monitor accepting 0 as None
2026-05-15 14:43:23 +01:00
Richard Bowman
a66428b1b2
Fix a typo when calling _save_capture
...
I renamed `jpeg_path` to `path` as it's no longer just used for jpegs.
2026-05-15 13:14:28 +01:00
Richard Bowman
ee6911f4a7
PNG Capture
...
This adds an additional action to BaseCamera to capture and return a PNG Blob. It makes the PNG using Pillow, in a very similar way to `capture_jpeg`.
I have parametrized the test for `capture_jpeg` so it now tests both jpeg and png with the same code.
2026-05-15 13:14:27 +01:00
Julian Stirling
714435f2d4
Fix unit tests for stage_measrue as an OFMThing
2026-05-14 16:49:29 +01:00