Commit graph

74 commits

Author SHA1 Message Date
Joel Collins
bb9bb77536 Moved API views up a level 2019-11-13 14:06:41 +00:00
Joel Collins
8ff95eef3a Store full microscope settings and state in capture metadata 2019-11-12 14:45:56 +00:00
Joel Collins
b81cfaf9e7 Converted all configs to JSON 2019-11-12 14:36:39 +00:00
Joel Collins
4e7606aa0c Blackened files 2019-11-06 22:07:16 +00:00
jtc42
e4a78046d7 Implemented draft of new background task system 2019-11-01 16:06:49 +00:00
Joel Collins
93966e093a Added stream snapshot route 2019-09-20 16:22:53 +01:00
Joel Collins
8b9ecbe2c7 Tidied up todos 2019-09-16 17:34:33 +01:00
Joel Collins
dc794d4df8 Microscope capture objects now just handle on-disk data 2019-09-16 16:35:32 +01:00
Joel Collins
5966ce29be Blackened everything 2019-09-15 14:17:52 +01:00
Joel Collins
d9e07f913a Plugin schema are now just plugin forms (requires eV 1.2) 2019-09-14 15:51:51 +01:00
Joel Collins
6581385ab9 Refactored JsonPayload to JsonResponse 2019-09-13 18:04:33 +01:00
Joel Collins
e603b34267 Added extra docs 2019-08-08 10:41:44 +01:00
Joel Collins
3467fe7759 Added extra type checking when applying pi camera config 2019-08-08 10:14:57 +01:00
Joel Collins
4ca93ba629 Added extra notes 2019-06-14 17:55:08 +01:00
Joel Collins
a8d03689e6 Removed redundant route attribute 2019-06-14 17:52:18 +01:00
Joel Collins
e55c097a32 Added API route for returning API schemas 2019-06-14 17:18:13 +01:00
jtc42
4246746bdc Updated config API to use apply_config 2019-06-11 10:33:45 +01:00
jtc42
8c3302644a Automatically add microscope ID and name to metadata 2019-06-07 17:28:57 +01:00
jtc42
235aa984f9 Updated docs 2019-06-07 13:37:20 +01:00
Joel Collins
3b9ef670fe Improved flake8 results 2019-05-24 16:32:20 +01:00
Joel Collins
e30956d761 Renamed video_resolution to stream_resolution 2019-05-20 10:55:43 +01:00
Joel Collins
092181348b Load capture objects from files. Remove YAML database. 2019-05-15 16:32:58 +01:00
Joel Collins
941aadebfe Merge branch 'temporary-scan-captures' into 'master'
Temporary scan captures

See merge request openflexure/openflexure-microscope-server!10
2019-04-14 09:00:21 +00:00
Joel Collins
f9fb6dc721 Default to not temporary 2019-04-09 14:57:19 +01:00
Richard Bowman
e6ec800c21 Fixed camera settings
Since splitting the camera config into a separate YAML file, we've broken
the ability to change the camera's configuration via the API (or at any time
except when the camera is set up, I think).  This (mostly) fixes that, though
I get type errors that I've had to work around (e.g. when setting
shutter_speed), see `pi.py`
2019-04-08 22:41:12 +01:00
Joel Collins
6b3dca9f61 Fixed passing non-integers into preview window params 2019-02-25 14:23:08 +00:00
Joel Collins
3bf3b0f0c2 Fixed tag put route 2019-02-20 11:08:19 +00:00
Joel Collins
366b771b72 Added size and position params to GPU preview route 2019-02-19 11:04:12 +00:00
Joel Collins
51cd776700 Store stage position in metadata 2019-02-19 10:43:33 +00:00
Joel Collins
05f52bbdeb Process all initial tags in one call 2019-02-18 11:30:38 +00:00
Joel Collins
404f28a8e0 Add metadata and tags at capture-time 2019-02-14 17:00:27 +00:00
Joel Collins
0948c9308a Went on a PEP-8 rampage 2019-01-31 17:20:46 +00:00
Joel Collins
04bed170a0 Added JSON safety to config reads 2019-01-31 16:47:54 +00:00
Joel Collins
e9d74c07e6 Separated updating/writing from saving config 2019-01-31 13:51:02 +00:00
Joel Collins
8087e4d445 Updated to use apply_config and read_config instead of setters and getters 2019-01-31 13:34:14 +00:00
Joel Collins
6743882bf1 Corrected the abort code for missing resource 2019-01-29 14:43:22 +00:00
Joel Collins
a11d2145d9 Fixed broken error handling for long-running tasks 2019-01-28 17:49:44 +00:00
Joel Collins
465ed647d3 Fixed docstrings 2019-01-24 16:24:14 +00:00
Joel Collins
80cc74bd3d Fixed plugin blueprint method name clashing 2019-01-24 14:14:25 +00:00
Joel Collins
cb441201c6 Explicitally acquire camera lock 2019-01-24 14:05:45 +00:00
Joel Collins
27043240f3 Added explicit lock ecquisition 2019-01-24 14:05:05 +00:00
Joel Collins
a40cb9b9f6 Implemented basic threaded tasks for long-running functionality 2019-01-23 16:48:49 +00:00
Joel Collins
0dff9b6b39 Enable web UI to run when no stage is connected 2019-01-22 14:47:11 +00:00
Joel Collins
0e23ce8d0b Added web routes for tagging captures 2019-01-22 12:09:42 +00:00
Joel Collins
7a72b45b29 Added tags to capture metadata 2019-01-22 11:35:35 +00:00
Joel Collins
4e985fe80d Capture list now persists through server restart 2019-01-22 11:23:15 +00:00
Joel Collins
748c9b8b20 Routes now return position as a microscope stage sub-section 2019-01-21 10:49:46 +00:00
Joel Collins
a15e797ce4 Removed redundant as_attachment response 2019-01-18 16:07:50 +00:00
Joel Collins
533f5d9857 Added routes to download metadata yaml files 2019-01-18 15:27:11 +00:00
Joel Collins
63ffc0057a Added routes for new metadata methods 2019-01-18 14:50:08 +00:00