Commit graph

128 commits

Author SHA1 Message Date
Joel Collins
ed12cc7bce Fixed metadata and tags not storing to capture DB on update or exit 2019-02-13 15:17:52 +00:00
Joel Collins
5672b82f5e Added many many debug statements to help debug issue #32 2019-02-05 17:06:05 +00:00
Joel Collins
0948c9308a Went on a PEP-8 rampage 2019-01-31 17:20:46 +00:00
Joel Collins
63336757d4 Better handle missing error.message 2019-01-31 16:48:19 +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
323c48858d Updated to use api_microscope.rc.asdict(), and minor formatting changes 2019-01-31 13:26:56 +00:00
Joel Collins
36b0cb0be0 Save config on server shutdown 2019-01-30 18:23:58 +00:00
Joel Collins
f2a3261b03 Overhauled config loader to allow split configs 2019-01-30 17:45:11 +00:00
Joel Collins
7ad1e7507f Use a sensible error handler 2019-01-30 12:02:27 +00:00
Joel Collins
6743882bf1 Corrected the abort code for missing resource 2019-01-29 14:43:22 +00:00
Joel Collins
cc36aa7593 Fixed a bug where malformed JSON payloads prevented default param values from returning 2019-01-29 13:54:32 +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
488b94eee6 Updated LockError location 2019-01-24 14:04:12 +00:00
Joel Collins
8292ebf7c7 Implement hardware locks 2019-01-24 12:11:01 +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
a6332f4f30 Updated self-served client to new version 2019-01-22 13:46:46 +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
8170726430 Enabled CORS on /api routes 2019-01-18 16:49:21 +00:00
Joel Collins
ba4599d4a3 Changed download button to YAML link 2019-01-18 16:15:11 +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
Joel Collins
8a4be49d46 Fixed resize docstring 2019-01-17 14:13:34 +00:00
Joel Collins
cbf709e8d8 Added client option for bayer capture 2019-01-17 10:22:53 +00:00
Joel Collins
b0d5426f5b Bayer capture now optional 2019-01-17 10:22:41 +00:00
Joel Collins
25ecda8798 Fixed broken import 2019-01-16 14:59:18 +00:00
Joel Collins
1d1b501cbf Zoom POST now returns camera state, rather than whole microscope state 2019-01-16 12:01:45 +00:00
Joel Collins
0c5af96890 Added route for camera zoom 2019-01-16 11:50:05 +00:00
Joel Collins
709372208a Added route to retreive current overlay text 2019-01-16 11:25:56 +00:00
Joel Collins
65b50be0c5 Added API route to draw overlay text 2019-01-15 17:07:43 +00:00
Joel Collins
9c488279d2 Moved setting and getting stage config into root microscope config 2019-01-15 14:28:28 +00:00
Joel Collins
55c3014d26 Moved axes_to_array into general utilities 2019-01-15 14:28:02 +00:00
Joel Collins
504c9b48a1 Moved camera config route into generic microscope config route 2019-01-15 14:01:52 +00:00
Joel Collins
6a374d093a Added API route to edit camera config 2019-01-15 12:17:14 +00:00
Joel Collins
a8c9a7e7dd Route to return microscope config 2019-01-15 11:48:10 +00:00
Joel Collins
60c11b1072 Better docstring for JsonPayload 2019-01-09 16:51:28 +00:00
Joel Collins
7a9629e7a3 Removed depracated methods 2019-01-09 16:21:22 +00:00
Joel Collins
7b6d2056f1 Fixed oversized sidebar 2019-01-09 16:19:14 +00:00
Joel Collins
1aad10c71b Removed redundant imports 2019-01-09 16:19:06 +00:00
Joel Collins
783cc05ac9 Added type converter to JsonPayload.param 2019-01-09 16:18:49 +00:00