Commit graph

361 commits

Author SHA1 Message Date
Joel Collins
e91e58daa3 Added a long running task to schema example 2019-06-18 15:56:02 +01:00
Joel Collins
54dcee0083 Tweaked example schema 2019-06-18 13:53:38 +01:00
Joel Collins
8a5c749d47 Added specific API schema example plugin 2019-06-17 17:35:20 +01:00
Joel Collins
559fe6c2fe Merge branch 'api-schema' of https://gitlab.com/openflexure/openflexure-microscope-server into api-schema 2019-06-17 13:55:25 +01:00
Joel Collins
9911b33621 Removed test schema 2019-06-17 13:55:14 +01:00
Joel Collins
456ca7d13d Added example schema 2019-06-17 13:55:05 +01:00
Joel Collins
e52871e21b Fixed default backlash 2019-06-17 13:54:32 +01:00
jtc42
5837d78a21 Add missing itertools import 2019-06-16 13:06:28 +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
8742c4d43c Added extra content to test schema 2019-06-14 17:51:26 +01:00
Joel Collins
616ed455f5 Removed redundant payload 2019-06-14 17:18:54 +01:00
Joel Collins
e55c097a32 Added API route for returning API schemas 2019-06-14 17:18:13 +01:00
Joel Collins
7cb992adc4 Added example API schema 2019-06-14 17:17:34 +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
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
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
0f8070b64a Smarter server teardown procedure 2019-06-05 16:04:32 +01:00
Joel Collins
ea253f8085 Smarter application of picamera settings 2019-06-05 16:04:14 +01:00
Joel Collins
9b30d1d38f Completely overhauled config system 2019-06-05 16:03:58 +01:00
Joel Collins
cc343e2a8c Overhaul config module to only handle loading/saving 2019-06-05 16:03:42 +01:00
Joel Collins
65a28cc0f4 Default to new camera and stage settings slip 2019-06-05 16:03:17 +01:00
Joel Collins
0d8396b3e4 Fixed Microscope and camera arguments 2019-06-04 14:04:07 +01:00
Joel Collins
41d9ab51ad Restructured camera attaching 2019-06-04 14:03:46 +01:00
Joel Collins
f7ba68b443 Converted base camera into an ABC 2019-06-04 14:03:30 +01:00
Joel Collins
3cf166226b Converted config dict into properties/attributes 2019-06-04 14:03:16 +01:00
Joel Collins
5e6372835e Added extra debug log 2019-06-04 14:02:53 +01:00
Joel Collins
70be245c2a Ensure stream recording at start of fast_up_down_up_autofocus 2019-05-30 10:43:46 +01:00
Joel Collins
c107125377 Skip loading invalid captures into array 2019-05-29 09:32:14 +01:00
Joel Collins
2c4fa4aead Return empty dict if capture is corrupt 2019-05-29 09:29:46 +01:00
Joel Collins
9ab1da34ff Handle corrupt captures 2019-05-29 09:28:42 +01:00
Joel Collins
60c49a8331 Fixed setting Iterable vs Int backlash 2019-05-28 09:28:08 +01:00
Joel Collins
5e34b998dd Fixed plugin calling old focus_rel method 2019-05-28 09:27:47 +01:00
Joel Collins
39e2e0baad Re-implemented scan methods 2019-05-27 13:35:53 +01:00
Joel Collins
5a22d0d308 Re-added timeout parameters (previous commit broke) 2019-05-24 16:47:04 +01:00
Joel Collins
3b9ef670fe Improved flake8 results 2019-05-24 16:32:20 +01:00
Joel Collins
90a3a738af Cleaned up camera locks 2019-05-23 14:25:57 +01:00
Joel Collins
8e35ef2b29 Added locked() method to check lock state 2019-05-23 14:25:26 +01:00
Joel Collins
e30956d761 Renamed video_resolution to stream_resolution 2019-05-20 10:55:43 +01:00
Joel Collins
8c3cd48f4d Automatically move old config file to new config file 2019-05-20 10:24:50 +01:00
Joel Collins
b0e724a706 Fixed naming of default config placeholder 2019-05-20 10:14:55 +01:00
Joel Collins
9fc4dfc628 Moved microscoperc.yaml to microscope_settings.yaml 2019-05-20 10:09:01 +01:00
Joel Collins
1fe8ea18d8 Default capture resolution to MAX_RESOLUTION 2019-05-20 10:06:42 +01:00