Commit graph

3375 commits

Author SHA1 Message Date
Julian Stirling
480af1d938 Update picamera_coverage.zip as camera source changed 2025-08-05 23:21:42 +01:00
Julian Stirling
8ce06991f9 Small tweaks to simulation camera to get scanning working. 2025-08-05 08:28:10 +01:00
Julian Stirling
b75af87b84 Merge branch 'camera-and-bg-detect-setting-customisation' into 'v3'
Dynamic UI for camera and background detect settings

See merge request openflexure/openflexure-microscope-server!331
2025-08-04 23:34:10 +00:00
Julian Stirling
7231e1cf5b Apply suggestions from code review of branch camera-and-bg-detect-setting-customisation 2025-08-04 22:44:40 +00:00
Julian Stirling
81f44dbdf3 Merge branch 'coverage-to-2dp' into 'v3'
Update .coveragerc to get 2 decimal places for coverage

See merge request openflexure/openflexure-microscope-server!343
2025-08-04 12:55:16 +00:00
Julian Stirling
bb6b8fe93f Update .coveragerc to get 2 decimal places for coverage 2025-08-04 12:59:34 +01:00
Julian Stirling
d994119b36 Add test to stop camera Thing APIs diverging futher without review 2025-08-01 23:08:33 +01:00
Julian Stirling
afc621b847 Rerun tests on Pi and update picamera coverage data 2025-07-31 22:28:59 +01:00
Julian Stirling
649d5ca267 Fix primary and secondary camera actions being switched in UI 2025-07-31 21:24:01 +01:00
Julian Stirling
cde6d0c9b3 Save settings when detector settings updated 2025-07-31 21:10:52 +01:00
Julian Stirling
5296092b6b Fix tests now background status settings are returned as dictionaries. 2025-07-31 20:56:55 +01:00
Julian Stirling
33413a591a Complete UI for arbitrary dectector settings. Required better method for invoking actions.
Error handling was fixed in the process of getting the above correct.
2025-07-31 20:56:55 +01:00
Julian Stirling
92d15d921b Display background detector settings built automatically from schema 2025-07-31 20:56:55 +01:00
Julian Stirling
d376eee5d5 Remove custom error for background. Do not allow check if background is not set. 2025-07-31 20:56:55 +01:00
Julian Stirling
7f4b4ed1f3 Splitting logic for property control from logic to create UI from schema 2025-07-31 20:56:55 +01:00
Julian Stirling
e7e3a08210 Camera settings exposed in UI defined by server. 2025-07-31 20:56:55 +01:00
Julian Stirling
3651013440 Generalise server specified action buttons. 2025-07-31 20:56:55 +01:00
Julian Stirling
0794d4777f Camera calibration buttons specified by server. Simulation has option to remove sample 2025-07-31 20:56:55 +01:00
Julian Stirling
1e89ef0ff7 Merge branch 'img-name' into 'v3'
Prepend images with img_

Closes #478

See merge request openflexure/openflexure-microscope-server!341
2025-07-31 16:05:10 +00:00
Joe Knapper
c00c027ab1 Apply suggestions from code review of branch img-name
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-07-31 14:52:21 +00:00
jaknapper
df918bf286 Prepend images with img_ 2025-07-31 13:53:57 +01:00
Julian Stirling
59fd808fa9 Merge branch 'ReportPicameraTestsInCI' into 'v3'
Report Picamera tests in CI

See merge request openflexure/openflexure-microscope-server!337
2025-07-30 16:31:47 +00:00
Joe Knapper
d72aea7043 Merge branch 'download-zip-button' into 'v3'
Remove class from action button

See merge request openflexure/openflexure-microscope-server!340
2025-07-30 14:45:32 +00:00
Julian Stirling
d9db73a8d9 Fix coverage combination when other sources are removed 2025-07-30 15:12:21 +01:00
Julian Stirling
3b563a9987 Improve hardware specific tests README 2025-07-30 14:48:09 +01:00
jaknapper
16f2eee8b9 Remove class from action button 2025-07-30 13:00:10 +01:00
Julian Stirling
931a570b43 Merge branch 'purge-recentre' into 'v3'
Remove auto-recentre stage

Closes #486

See merge request openflexure/openflexure-microscope-server!339
2025-07-30 09:05:10 +00:00
Julian Stirling
e7d5b8bd1f Improve README a for hardware specific tests, and make fixes to picamera_tests script 2025-07-29 18:42:15 +01:00
jaknapper
10a49db9c9 Remove autorecentre 2025-07-29 18:29:15 +01:00
Julian Stirling
212374a6f9 Add typehints to picamera_tests script 2025-07-29 18:24:48 +01:00
Julian Stirling
83d7d20fdd Use relative paths in coverage report for combining Pi and CI reports 2025-07-29 18:21:20 +01:00
Julian Stirling
727d683c48 Add zip of picamera coverage and update CI to use it 2025-07-29 18:21:20 +01:00
Julian Stirling
9f38b041a6 Create script to zip up picamera tests and hashes of releavant source files 2025-07-29 18:21:20 +01:00
Julian Stirling
210c9ac975 Merge branch 'Camera-tweaks' into 'v3'
Stop exposure walking on camera reload, reset CCM on full calibration

See merge request openflexure/openflexure-microscope-server!334
2025-07-29 17:19:36 +00:00
Julian Stirling
f0c6ded1b6 Apply suggestions from code review of branch Camera-tweaks
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-29 16:34:38 +00:00
Julian Stirling
f710612a51 Refactor exposure tests to minimise repitition on set-up. Fix typehints and docstrings 2025-07-29 17:24:43 +01:00
Julian Stirling
bcfe8c1eb5 Apply suggestions from code review of branch Camera-tweaks
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-29 15:17:45 +00:00
Julian Stirling
38f4a745c3 Fix bug with setting exposure time on load, add associated test 2025-07-29 14:05:12 +01:00
Julian Stirling
b90b02cf7d Better fix for exposure drift with more complete testing. Also fix return value for capture_to_memory 2025-07-29 12:11:45 +01:00
Julian Stirling
8a9ed5b49b Merge branch 'nono-zenodo' into 'v3'
Remove zenodo scripts and job

See merge request openflexure/openflexure-microscope-server!336
2025-07-29 11:04:26 +00:00
Julian Stirling
756affa3aa Remove zenodo scripts and job 2025-07-29 10:15:40 +01:00
Joe Knapper
b560af0d83 Merge branch 'bump-labthings-fastapi-to-0.0.11' into 'v3'
Bump LabThings-Fastapi to 0.0.11

See merge request openflexure/openflexure-microscope-server!333
2025-07-28 17:10:36 +00:00
Julian Stirling
376780ea28 Stop exposure walking on camera reload, reset CCM on full calibration 2025-07-28 14:43:48 +01:00
Joe Knapper
ee6c303712 Merge branch 'pause-logger' into 'v3'
Make log display pause on hover

See merge request openflexure/openflexure-microscope-server!332
2025-07-28 12:49:45 +00:00
Julian Stirling
8ee2a38d2a Bump LabThings-Fastapi to 0.0.11 2025-07-28 13:09:38 +01:00
Joe Knapper
a8137fc6a0 Apply suggestions from code review of branch pause-logger
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-07-28 12:03:21 +00:00
jaknapper
b8bf8fbc18 Log display pauses on hover 2025-07-28 12:21:47 +01:00
Julian Stirling
547704fdc0 Merge branch 'bg_detect_in_camera' into 'v3'
Refactor background detect to allow switching algorithms

See merge request openflexure/openflexure-microscope-server!327
2025-07-28 09:21:43 +00:00
Julian Stirling
c17d7af1ab Apply suggestions from code review of branch bg_detect_in_camera 2025-07-27 19:26:05 +00:00
Julian Stirling
13da56f3fd Fixes for the background detect as required by code review 2025-07-27 10:40:45 +01:00