Commit graph

3311 commits

Author SHA1 Message Date
Julian Stirling
f51dae7b3a Doc strings to imperative mood 2025-07-10 09:24:49 +01:00
Julian Stirling
dceb640c77 Add documentation job to the CI. 2025-07-10 09:24:49 +01:00
Julian Stirling
a84a916719 Restructured text fixes so that pydoctor would return without an error 2025-07-09 23:59:08 +01:00
Julian Stirling
58b056988a Merge branch 'pass-portal-to-stop' into 'v3'
Stop streams to ensure that server exits gracefully.

See merge request openflexure/openflexure-microscope-server!316
2025-07-09 21:55:24 +00:00
Julian Stirling
cd6eaf7be7 Apply suggestions from code review of branch pass-portal-to-stop 2025-07-09 21:19:55 +00:00
Julian Stirling
177cb2eef7 Stop allowing integration tests to fail now graceful exit works 2025-07-09 16:53:35 +01:00
Julian Stirling
d9fd54696a Monkey patch Uvicorn's handle_exit function to stop streams
Before the uvicorn handle_exit function is called kill the camera
streams.
2025-07-09 16:53:08 +01:00
Julian Stirling
421efa2866 Pass blocking portal to mjpeg_stream.stop()
This was updated in LabThings-FastAPI v0.0.10, but wasn't changed
as we moved over.
2025-07-09 16:53:08 +01:00
Julian Stirling
e53405f1ef Merge branch 'python-integration-tests' into 'v3'
Python integration tests

See merge request openflexure/openflexure-microscope-server!319
2025-07-09 15:51:07 +00:00
Julian Stirling
72c4dbee32 Apply suggestions from code review of branch python-integration-tests 2025-07-09 15:13:25 +00:00
Julian Stirling
76c21e42f7 Improve integration test startup with polling 2025-07-09 13:59:16 +01:00
Julian Stirling
4e54d9ac06 Tidy integration test code and docstrings 2025-07-09 13:59:16 +01:00
Julian Stirling
190766cd1c Add CI job for integration tests 2025-07-09 13:59:16 +01:00
Julian Stirling
bd96585825 Create failing test for graceful shutdown. 2025-07-09 13:59:16 +01:00
Julian Stirling
234f7a7621 Start writing python-integration test that starts simulation server 2025-07-09 11:58:02 +01:00
Julian Stirling
ea785cb844 Merge branch 'new-thing-setting-syntax' into 'v3'
Update Thing Settings and import statments for LabThings-FastAPI 0.0.10

Closes #302 and #362

See merge request openflexure/openflexure-microscope-server!296
2025-07-07 18:29:01 +00:00
Julian Stirling
a8323c4f58 Remove section of docstring that no longer applies 2025-07-07 17:58:23 +00:00
Julian Stirling
f3ec5a445a Update labthings-fastapi version in pyproject.toml 2025-07-07 15:25:16 +01:00
Julian Stirling
35d6e45892 Refactor and simplify how picamera settings work 2025-07-07 15:25:16 +01:00
Julian Stirling
df8a9d0e93 Renaming picamera context manager to make it clear it is different from using the picamera itself as a context manager 2025-07-07 15:25:16 +01:00
Julian Stirling
52a80ef66b And adjust for new as lt import 2025-07-07 15:25:14 +01:00
Julian Stirling
840ed7f20e Update Thing Settings to use the new format provided by PR #110 of Labthings FastAPI 2025-07-07 15:24:30 +01:00
Julian Stirling
fd4d51401f Merge branch 'remove-imjoy' into 'v3'
Remove old unmaintained components

Closes #387

See merge request openflexure/openflexure-microscope-server!314
2025-07-07 11:53:31 +00:00
Julian Stirling
7d84544de2 Merge branch 'fix-simulation-and-stub-config' into 'v3'
Remove out of date CaptureThing from Simulation and Stub config

See merge request openflexure/openflexure-microscope-server!313
2025-07-07 11:34:42 +00:00
Julian Stirling
8d7a363df5 Remove v-step styling as this was from the tour 2025-07-07 12:21:35 +01:00
Richard Bowman
8c42037096 Merge branch 'Fix-artifact-path-for-webapp' into 'v3'
Fix artifact path in CI for webapp

See merge request openflexure/openflexure-microscope-server!315
2025-07-07 10:37:47 +00:00
Julian Stirling
fe9cc3caf5 Remove unused stub json config 2025-07-07 11:34:12 +01:00
Julian Stirling
1bdef0fb98 Remove captureContent as it is no longer used and its componets are removed 2025-07-06 21:30:46 +01:00
Julian Stirling
8b29ddaf4f Fix artifact path in CI for webapp 2025-07-06 20:49:00 +01:00
Julian Stirling
4371c3cc30 Remove tour that was already disabled. 2025-07-06 20:29:43 +01:00
Julian Stirling
3f8add4b89 Remove deprecated extension component, as the ifram extension it uses is unmaintained 2025-07-06 20:20:16 +01:00
Julian Stirling
3d91a6ae3a Remove ImJoy as it is not maintained 2025-07-06 18:57:40 +01:00
Julian Stirling
2bbd4fca62 Remove out of date CaptureThing from Simulation and Stub config 2025-07-06 17:36:48 +01:00
Julian Stirling
a0065931e4 Merge branch 'include-sangaboard' into 'v3'
Move SangaboardThing into repo

See merge request openflexure/openflexure-microscope-server!311
2025-07-03 14:27:38 +00:00
Julian Stirling
544ede0bf9 Apply suggestions from code review of branch include-sangaboard
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-03 14:57:48 +01:00
Julian Stirling
222a0c973d Remove old sangaboard abort_move action as moves are not cancelled with a cancel hook 2025-07-03 13:16:25 +01:00
Julian Stirling
d689481a9c Merge branch 'cancel-stiching' into 'v3'
Allow stiching to be cancelled after a scan complete

Closes #417

See merge request openflexure/openflexure-microscope-server!312
2025-07-03 08:32:49 +00:00
Julian Stirling
e7cf0c3f24 Allow stiching to be cancelled after a scan complete
Closes #417
2025-07-02 18:13:48 +01:00
Julian Stirling
4e20067c68 Update json configuration and dependencies for SangaboardThing being in the repository 2025-07-02 17:27:09 +01:00
Julian Stirling
5e6aeb9bbf Move SangaboardThing into repo 2025-07-02 16:42:38 +01:00
Julian Stirling
248f43d0fc Merge branch 'remove-test-thing' into 'v3'
Remove test Thing that is is never used.

See merge request openflexure/openflexure-microscope-server!310
2025-07-02 15:02:07 +00:00
Julian Stirling
3fd1e46297 Merge branch 'unique-len' into 'v3'
Combine uniquness and length checks

See merge request openflexure/openflexure-microscope-server!309
2025-07-02 13:55:01 +00:00
Julian Stirling
ffd958f823 Remove test Thing that is is never used. 2025-07-02 14:33:23 +01:00
Beth Probert
e936dc2974 Apply suggestions from code review of branch unique-len 2025-07-02 13:12:10 +00:00
Julian Stirling
8a28a17461 Combine uniquness and length checks 2025-07-02 13:25:07 +01:00
Julian Stirling
35409ee490 Merge branch 'download-stitched-image' into 'v3'
Allow downloading just the stitched image, and don't zip DZIs

Closes #441

See merge request openflexure/openflexure-microscope-server!305
2025-07-02 10:21:23 +00:00
Beth Probert
f3a873ae58 Apply suggestions from code review of branch download-stitched-image
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-07-02 09:51:27 +00:00
Julian Stirling
2e18c2017a Apply suggestions from code review of branch download-stitched-image
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-02 09:39:33 +00:00
Julian Stirling
7295b86cf6 Split up ScanDirectory._find_files into seperate functions 2025-07-01 19:45:45 +01:00
Julian Stirling
254305a7a5 Clarify whether name or path is returned in scan directory functions 2025-07-01 19:21:56 +01:00