Commit graph

58 commits

Author SHA1 Message Date
jtc42
76af0891e9 Blackened 2019-11-15 16:52:57 +00:00
jtc42
6581612312 Implemented root API v2 routes 2019-11-14 16:33:00 +00:00
jtc42
b33ab7b22a Moved to a module-level user_settings object 2019-11-12 17:14:30 +00:00
Joel Collins
b81cfaf9e7 Converted all configs to JSON 2019-11-12 14:36:39 +00:00
Joel Collins
dd82528d78 Blackened 2019-11-06 22:13:39 +00:00
Joel Collins
4e7606aa0c Blackened files 2019-11-06 22:07:16 +00:00
jtc42
625b03fae3 Moved lock submodule into 'common' and updated docs 2019-11-01 18:10:04 +00:00
Joel Collins
8b9ecbe2c7 Tidied up todos 2019-09-16 17:34:33 +01:00
Joel Collins
039b4fd3da Removed old clean_keys arg 2019-09-15 14:28:03 +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
8e0cdf3b11 Merge branch 'config-dict-fixes' into 'master'
Fixed read and apply config dicts

See merge request openflexure/openflexure-microscope-server!24
2019-06-12 16:24:08 +00:00
Joel Collins
f31c28fe52 Fixed read and apply config dicts 2019-06-12 17:23:24 +01:00
jtc42
df205cc76d Removed a todo 2019-06-11 10:36:15 +01:00
jtc42
3299934afb Added deprecation warnings to config property 2019-06-11 10:34:02 +01:00
jtc42
b1cd061a00 Actually use config dictionary with version when saving 2019-06-07 16:29:10 +01:00
jtc42
4c67ef2fc2 Inject server_version into saved config 2019-06-07 15:33:31 +01:00
jtc42
235aa984f9 Updated docs 2019-06-07 13:37:20 +01:00
Joel Collins
4aba270365 Added state key for server package version 2019-06-05 17:54:39 +01:00
Joel Collins
9b30d1d38f Completely overhauled config system 2019-06-05 16:03:58 +01:00
Joel Collins
41d9ab51ad Restructured camera attaching 2019-06-04 14:03:46 +01:00
Joel Collins
3b9ef670fe Improved flake8 results 2019-05-24 16:32:20 +01:00
Joel Collins
9fc4dfc628 Moved microscoperc.yaml to microscope_settings.yaml 2019-05-20 10:09:01 +01:00
Joel Collins
ff534e6a51 Initial support for SBv3 and MockStage 2019-05-15 13:25:04 +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
7d9f7278f1 Fixed camera config being overwritten instead of updated 2019-02-20 10:31:02 +00:00
Joel Collins
cc3f7f19df Fixed attaching lock failure 2019-02-19 13:42:17 +00:00
Joel Collins
1bbe234749 Fixed issue #42 2019-02-11 10:00:44 +00:00
Joel Collins
88b946b473 Improved runtime-config docs 2019-02-07 11:19:00 +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
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
5471ffa62b Introduced apply_config and read_config methods 2019-01-31 13:29:07 +00:00
Joel Collins
7a63451063 Added docstring 2019-01-30 18:23:48 +00:00
Joel Collins
f2a3261b03 Overhauled config loader to allow split configs 2019-01-30 17:45:11 +00:00
Joel Collins
0c156128fc Minor formatting changes 2019-01-30 12:02:35 +00:00
Joel Collins
465ed647d3 Fixed docstrings 2019-01-24 16:24:14 +00:00
Joel Collins
fb26bcb7f3 Added CompositeLock 2019-01-24 14:04:41 +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
0cde8b717d Added fov into microscope RC 2019-01-21 10:49:59 +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
504c9b48a1 Moved camera config route into generic microscope config route 2019-01-15 14:01:52 +00:00
Joel Collins
7f42b3b706 Microscope now has option to add a name 2019-01-15 11:48:04 +00:00
Joel Collins
e1b021583b Rewritten plugin attacher for new system 2018-12-12 15:00:49 +00:00
Joel Collins
5ef9215051 Additional debug logging 2018-12-11 13:32:16 +00:00
Joel Collins
88647962f4 Closing microscope checks if hardware is attached 2018-12-04 15:15:09 +00:00
Joel Collins
20e49ad65c Rearranged state dictionary 2018-12-04 15:10:41 +00:00
Joel Collins
3925ef8cfe Moved hardware config to a runtime config YAML file in home 2018-11-29 14:41:56 +00:00
Joel Collins
7a58b4e95e Moved plugin mounting to a Microscope method 2018-11-23 17:51:13 +00:00