Julian Stirling
|
6b1e40f689
|
Add flake8-simplicity rules
|
2025-09-18 16:21:45 +01:00 |
|
Julian Stirling
|
2ce49088e7
|
Add return typehints to magic methods
|
2025-08-27 18:56:09 +01:00 |
|
Julian Stirling
|
4c46330959
|
Add ANN20X rules to ruff
|
2025-08-27 18:56:08 +01:00 |
|
Julian Stirling
|
24233412af
|
Start adding ANN ruff rules
|
2025-08-27 18:54:15 +01:00 |
|
Julian Stirling
|
6fa4e4dc64
|
Add a grab_as_array camera method that grabs from the stream but catches broken jpegs and retries
|
2025-08-21 13:35:21 +01:00 |
|
Joe Knapper
|
bd115e0023
|
Change all CameraDeps to CameraClients
|
2025-08-15 10:16:36 +00:00 |
|
Julian Stirling
|
05644456e0
|
Allow preview to cancel!
|
2025-08-12 16:41:55 +01:00 |
|
Julian Stirling
|
cd311f08bf
|
Update stiching to differentiate bwtween stitchers that use a thread and those that block
|
2025-08-06 17:47:33 +01:00 |
|
Julian Stirling
|
5f092835ac
|
Apply suggestions from code review of branch yet-another-smart-scan-refactor
|
2025-08-06 17:27:26 +01:00 |
|
Julian Stirling
|
2e6ba73345
|
Apply suggestions from code review of branch yet-another-smart-scan-refactor
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
|
2025-08-06 17:27:26 +01:00 |
|
Julian Stirling
|
f9fcdf628b
|
Squash final todos for SmartScan refactor
|
2025-08-06 17:27:26 +01:00 |
|
Julian Stirling
|
7d83aadf8d
|
Squash some TODOs
|
2025-08-06 17:27:26 +01:00 |
|
Julian Stirling
|
4e9b07c78f
|
Consolidate information into ScanData, remove ad-hoc differences for specific error in _run_scan
|
2025-08-06 17:27:26 +01:00 |
|
Julian Stirling
|
82691a6b78
|
Tweak error reporting in _run_scan and add a lot more testing for _run_scan
|
2025-08-06 17:27:26 +01:00 |
|
Julian Stirling
|
d7a7ac4c7d
|
More complete testing of code that runs stitching subprocess.
|
2025-08-06 17:27:26 +01:00 |
|
Julian Stirling
|
573fc20dec
|
Add new tests new scan directory function and for scan data serialisation
|
2025-08-06 17:27:26 +01:00 |
|
Julian Stirling
|
6ceb1a9845
|
Pull stitching out of SmartScanThing
|
2025-08-06 17:27:26 +01:00 |
|
Julian Stirling
|
f449bcdd78
|
Turn scan_data into a BaseModel with validation for custom formatting
|
2025-08-06 17:27:26 +01:00 |
|
Julian Stirling
|
9be9097246
|
Make scan directory manager thread safe
|
2025-08-05 23:13:11 +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 |
|
Joe Knapper
|
d6f1502593
|
Apply suggestions from code review of branch Stitch-all
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
|
2025-07-25 16:42:27 +00:00 |
|
jaknapper
|
7ac77c3e89
|
Stitch all scans button, and refresh scan tab when closing modals
|
2025-07-25 16:52:37 +01:00 |
|
Julian Stirling
|
75bdae5593
|
Fix message formatting and dosctring syntax
|
2025-07-24 17:54:58 +01:00 |
|
Julian Stirling
|
fe1b84a922
|
Complete first pass (untested on hardware) of bg detect refactor.
|
2025-07-24 17:07:50 +01:00 |
|
Julian Stirling
|
2245d9357d
|
Continue to rebase background detect.
|
2025-07-24 17:07:50 +01: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
|
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
|
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 |
|
Julian Stirling
|
f51dae7b3a
|
Doc strings to imperative mood
|
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
|
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
|
e7cf0c3f24
|
Allow stiching to be cancelled after a scan complete
Closes #417
|
2025-07-02 18:13:48 +01:00 |
|
Julian Stirling
|
254305a7a5
|
Clarify whether name or path is returned in scan directory functions
|
2025-07-01 19:21:56 +01:00 |
|
jaknapper
|
ff43deae36
|
Download stitched image of scan (if present)
* Docstring for download stitch
* use global STITCH_SUFFIX
|
2025-06-30 20:18:48 +01:00 |
|
Julian Stirling
|
51f9df995d
|
More changes suggested in review, generally docstring issues.
|
2025-06-30 17:25:58 +01:00 |
|
Julian Stirling
|
ad838e8643
|
Apply suggestions from code review of branch split-scan-dir-operations
Co-authored-by: Beth Probert <beth_probert@outlook.com>
|
2025-06-30 17:25:58 +01:00 |
|
Julian Stirling
|
7193ec34f5
|
Starting to test more smart scan functionality using mocked Thing Dependencies
|
2025-06-27 21:06:16 +01:00 |
|
Julian Stirling
|
1267d881b9
|
Start writing tests for smart scan
Focusing on methods that don't start the whole scan.
|
2025-06-27 21:06:16 +01:00 |
|
Julian Stirling
|
32f78a4cff
|
Trying to make a distinction between file directory operations for scans and scanning code
This started as a small change and spiralled out of control it needs good unit tests and testing
before considering to merge
|
2025-06-27 21:06:16 +01:00 |
|
Julian Stirling
|
0d2f324324
|
Split creation of scan directory information into class with small testable methods
|
2025-06-27 21:06:16 +01:00 |
|
Julian Stirling
|
73e54b802b
|
Stop smart stack infinietly looping
|
2025-06-27 01:29:26 +01:00 |
|
Julian Stirling
|
43d5f2fdfe
|
Change capture_resolution to save resolution, because it is used for saving not capture
|
2025-06-26 19:00:52 +01:00 |
|
Julian Stirling
|
6a87805b47
|
Fixing a number of issues from the merge and refactor.
|
2025-06-26 18:29:12 +01:00 |
|
Julian Stirling
|
61dd5e4958
|
Compete first (untested) pass of trying to make fast stack compatible with new memory captures
|
2025-06-26 17:43:11 +01:00 |
|