Commit graph

32 commits

Author SHA1 Message Date
Joe Knapper
f6ae4807ff Manually handle out of storage and JPEG too big errors 2026-02-12 11:46:14 +00:00
Julian Stirling
2a3a54b936 Get unit tests passing with Scan Workflows 2026-01-16 09:28:15 +00:00
Julian Stirling
c938560f00 Docstrings and final tweaks of ScanWorflow refactor 2026-01-15 21:59:53 +00:00
Julian Stirling
665622a802 First working interation of ScanWorkflows. Needs a tidy 2026-01-15 20:59:53 +00:00
Julian Stirling
ec29a1999f Update how stitching is called in Windows 2026-01-12 16:20:22 +00:00
Julian Stirling
8890590551 Type fix stitching 2026-01-09 15:18:05 +00:00
Julian Stirling
be5f9630ca A fond farewell to the last of the InvocationLoggers 2025-12-17 15:52:03 +00:00
Julian Stirling
510a44dd17 Remove all cancel hooks from smart scan and stitching 2025-12-17 14:04:37 +00:00
Julian Stirling
7bc4c514a6 Autofix import order 2025-12-02 16:26:15 +00:00
jaknapper
416830cbe8 Strip new lines when logging stitching 2025-10-10 12:27:09 +01:00
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
Joe Knapper
99652eca41 Merge branch 'log-oom-error' into 'v3'
Custom sigkill error

See merge request openflexure/openflexure-microscope-server!351
2025-08-15 12:13:25 +00:00
Joe Knapper
1e368aef81 Apply suggestions from code review of branch log-oom-error
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-08-14 14:09:54 +01:00
Julian Stirling
05644456e0 Allow preview to cancel! 2025-08-12 16:41:55 +01:00
jaknapper
7cedd31ff4 Default tile size 8192 2025-08-08 10:43:54 +01:00
jaknapper
279055108f Set final stitch tile size to 4096px 2025-08-07 18:30:14 +01:00
jaknapper
4d32152427 Custom Memory error changed to generic sigkill 2025-08-07 18:10:02 +01:00
jaknapper
feec53aa1f Custom out of memory error 2025-08-07 17:56:34 +01:00
Julian Stirling
dbdf254154 Fix CLI arg for FinalStitcher, and a docstring typo. 2025-08-07 15:20:14 +01:00
Julian Stirling
5caae613dc Apply suggestions from code review of branch yet-another-smart-scan-refactor
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-08-07 13:55:47 +00:00
Julian Stirling
7727d0a51d Update language in BaseStitcher to clarify that the stitching uses subprocess not threading 2025-08-07 12:06:58 +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
6739a84d7c 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
cf74ea1351 More complete testing of code that runs stitching subprocess. 2025-08-06 17:27:26 +01:00
Julian Stirling
7569c7d6b2 Add validation checks to prevent arbitrary code execution via stitching. 2025-08-06 17:27:26 +01:00
Julian Stirling
a632ddee92 Add unit tests for generated stitching commands. 2025-08-06 17:27:26 +01:00
Julian Stirling
6ceb1a9845 Pull stitching out of SmartScanThing 2025-08-06 17:27:26 +01:00