Commit graph

3312 commits

Author SHA1 Message Date
Julian Stirling
b5586a4b32 A partial refactor of background detect 2025-07-24 17:07:50 +01:00
Julian Stirling
f12ee9bd69 Merge branch 'colour-simualation-image' into 'v3'
Update simulation canvas to have colour so it works with background detect.

See merge request openflexure/openflexure-microscope-server!328
2025-07-24 15:56:49 +00:00
Julian Stirling
31e3d15890 Add random noise to simulation image 2025-07-24 16:17:52 +01:00
Julian Stirling
5701225158 Update simulation canvas to have colour so it works with background detect. 2025-07-24 15:58:32 +01:00
Julian Stirling
37a28af04a Merge branch 'merge-settings-and-system-control' into 'v3'
Merge settings and system control

See merge request openflexure/openflexure-microscope-server!323
2025-07-15 08:02:20 +00:00
Julian Stirling
c8e87577cb Add tests for new system Thing. 2025-07-15 00:14:07 +01:00
Julian Stirling
e3146f1798 Apply suggestions from code review of branch merge-settings-and-system-control
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-14 21:32:17 +00:00
Julian Stirling
9369b2988d Shutdown button terminates server in simulation. Adjust power tab layout 2025-07-14 18:57:36 +01:00
Julian Stirling
be94df7c8a Merge SettingsManager and SystemControl Things. 2025-07-14 17:59:46 +01:00
Julian Stirling
bed59c051b Merge branch 'update-setting-manager' into 'v3'
Update setting manager

Closes #477, #343, and #475

See merge request openflexure/openflexure-microscope-server!321
2025-07-14 16:47:41 +00:00
Julian Stirling
c9c8a89236 Merge branch 'simplify-csm-interface' into 'v3'
Add camera-stage-mapping compliant functions to BaseStage and BaseCamera.

Closes #346 and #476

See merge request openflexure/openflexure-microscope-server!326
2025-07-14 16:36:04 +00:00
Julian Stirling
c64fe170cc Update pyproject.toml to be clear where version strings need to be changed on release. 2025-07-14 17:11:54 +01:00
Julian Stirling
34f8f86ef2 Apply suggestions from code review of branch update-setting-manager
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-14 17:11:54 +01:00
Julian Stirling
e614ec577e Expose server version strings in webapp. 2025-07-14 17:11:54 +01:00
Julian Stirling
225ee5bb82 Tweak CI script to have a Git name and email as this is now needed for unit testing. 2025-07-14 17:11:53 +01:00
Julian Stirling
d3732aef2f Finish testing new version functionality in utilities. 2025-07-14 17:11:53 +01:00
Julian Stirling
ea1c1df4eb Improve testing of version strings and git hashes 2025-07-14 17:11:53 +01:00
Julian Stirling
5c1f8f2e89 Write tests for checking git hash 2025-07-14 17:11:53 +01:00
Julian Stirling
83a4b72507 Start writing tests for the version strings 2025-07-14 17:11:53 +01:00
Julian Stirling
608c4bd16f Expose version as thing property and via thing state so it ends up in metadata. 2025-07-14 17:11:53 +01:00
Julian Stirling
1dd0db888d Starting to create version reading code 2025-07-14 17:11:53 +01:00
Julian Stirling
d19d44ba4f Remove unused complex functionality from settings_manager.py. 2025-07-14 17:11:53 +01:00
Julian Stirling
59a5246904 Apply suggestions from code review of branch simplify-csm-interface
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-07-14 15:33:50 +00:00
Julian Stirling
816b6fc82b Merge branch 'test-logging' into 'v3'
Test logging

See merge request openflexure/openflexure-microscope-server!325
2025-07-14 09:04:46 +00:00
Julian Stirling
dd8c97e0b6 Merge branch 'contributing-docstring-fix' into 'v3'
Fix example docstring example in CONTRIBUTING.md

See merge request openflexure/openflexure-microscope-server!324
2025-07-14 08:32:42 +00:00
Julian Stirling
705cf73173 Fixing docstrings for camera stage mapping changes. 2025-07-13 23:53:44 +01:00
Julian Stirling
531e5c27b2 Replace LoggingMoveWrapper with RecordedMove accepts a stage rather than an arbitrary move function
This was needed to get the correct key word arguments
2025-07-13 23:34:55 +01:00
Julian Stirling
b89449be77 Add camera-stage-mapping compliant functions to BaseStage and BaseCamera. 2025-07-13 21:55:55 +01:00
Julian Stirling
fab5fdfca2 Improve log filtering and logging error handling. Adding more logging tests. 2025-07-13 15:17:11 +01:00
Julian Stirling
ea73e44b01 Start adding tests for the loging configuration. 2025-07-13 14:28:55 +01:00
Julian Stirling
26b893b38c Fix example docstring example in CONTRIBUTING.md 2025-07-13 11:09:54 +00:00
Julian Stirling
18e5f80105 Merge branch 'update-readme-and-contributing' into 'v3'
Update README to point at CONTRIBUTING and make contributing link to site,...

See merge request openflexure/openflexure-microscope-server!322
2025-07-11 17:58:17 +00:00
Julian Stirling
cef3c9f40d Apply suggestions from code review of branch update-readme-and-contributing
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-07-11 16:14:03 +00:00
Julian Stirling
08aaaa6fe1 Complete a first pass of updated contributing guidelines. 2025-07-11 15:30:02 +01:00
Julian Stirling
7b5ce1d165 Update README to point at CONTRIBUTING and make contributing link to site, then give repository specifics. 2025-07-11 12:35:39 +01:00
Julian Stirling
31ed7dfc69 Merge branch 'better-docstrings' into 'v3'
Better docstrings

Closes #479 and #239

See merge request openflexure/openflexure-microscope-server!320
2025-07-11 11:16:27 +00:00
Julian Stirling
c68f0515f5 Apply suggestions from code review of branch better-docstrings
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-07-11 07:26:26 +00:00
Julian Stirling
f91582c9eb Apply suggestions from code review of branch better-docstrings
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-07-10 23:31:34 +00:00
Julian Stirling
7e6017f648 Get codespell passing and add it as a CI job. 2025-07-11 00:16:25 +01:00
Julian Stirling
e33fecaef0 Documentation of python magic class methods 2025-07-10 16:46:10 +01:00
Julian Stirling
864ca91e5c Add docstrings to all public package 2025-07-10 15:29:10 +01:00
Julian Stirling
14359e73bb Add public method docstrings. 2025-07-10 15:12:28 +01:00
Julian Stirling
1bbbfeef0f Add docstrings to public methods 2025-07-10 14:04:48 +01:00
Julian Stirling
a30b726b91 Class docstrings 2025-07-10 13:27:41 +01:00
Julian Stirling
11a1fd7f85 Move ThingSetting and ThingProperty docstrings under the definition. 2025-07-10 10:43:05 +01:00
Julian Stirling
12df8c9072 Add extra options to Pydoctor CI command 2025-07-10 10:07:33 +01:00
Julian Stirling
2cb4003835 Add module level docstrings. 2025-07-10 09:24:50 +01:00
Julian Stirling
80beeea07b Add punctuation to docstrings 2025-07-10 09:24:50 +01:00
Julian Stirling
4dc41bb008 Single line summaries of docstrings 2025-07-10 09:24:49 +01:00
Julian Stirling
35d47fe3ed Starting docstring on the same lines as the quotations 2025-07-10 09:24:49 +01:00