Commit graph

178 commits

Author SHA1 Message Date
Joel Collins
39e325a52a Automatically load API endpoint plugins 2018-12-11 17:20:46 +00:00
Joel Collins
c1630f91e6 Include plugins blueprints 2018-12-11 17:20:27 +00:00
Joel Collins
87886d35a0 Fixed relative imports 2018-12-11 17:20:12 +00:00
Joel Collins
5867afa5b5 Attach plugins to webapp 2018-12-11 17:20:00 +00:00
Joel Collins
8edf0fa027 Show full microscope plugin list 2018-12-11 17:19:39 +00:00
Joel Collins
14a4e3d909 Restructured plugin validity check 2018-12-11 14:34:36 +00:00
Joel Collins
9a2c585046 Broken plugin into microscope plugin and API endpoints 2018-12-11 13:32:29 +00:00
Joel Collins
5ef9215051 Additional debug logging 2018-12-11 13:32:16 +00:00
Joel Collins
3f6bf67c12 Removed obsolete static files 2018-12-06 15:48:56 +00:00
Joel Collins
39aed3f122 Fixed API module links 2018-12-06 15:43:50 +00:00
Joel Collins
5c56513dd1 PEP8 stuff 2018-12-06 15:43:41 +00:00
Joel Collins
c995a15fdc Restructured entire API into blueprints 2018-12-06 15:37:51 +00:00
Joel Collins
aede078eb9 Moved user configs to hidden directory 2018-12-05 12:03:22 +00:00
Joel Collins
b6d0aebc1b Pass kwargs to methodview 2018-12-05 12:03:09 +00:00
Joel Collins
ce6d281dce Minor documentation tweak 2018-12-04 15:22:50 +00:00
Joel Collins
88647962f4 Closing microscope checks if hardware is attached 2018-12-04 15:15:09 +00:00
Joel Collins
f42dcf8b95 Docstring for preview API route 2018-12-04 15:14:19 +00:00
Joel Collins
c3692aa3ef Added GPU preview routes 2018-12-04 15:10:52 +00:00
Joel Collins
20e49ad65c Rearranged state dictionary 2018-12-04 15:10:41 +00:00
Joel Collins
904703b581 Implemented endpoint to delete all captures 2018-12-03 17:01:31 +00:00
Joel Collins
1e08972b86 Moved calibration into general utilities directory 2018-11-30 10:53:06 +00:00
Joel Collins
b21040f22e Better fix for RGB capture memory issues 2018-11-30 10:33:39 +00:00
Joel Collins
3e4b1750ae API now loads config and lens shading table 2018-11-29 18:09:11 +00:00
Joel Collins
2cf025088b Calibration now stores to a config file, which can be loaded 2018-11-29 17:58:24 +00:00
Joel Collins
f0e638f894 Updated default awb_gains to better match new warm LEDs 2018-11-29 16:07:39 +00:00
Joel Collins
3063967fe5 Explicitally pass config argument 2018-11-29 15:50:17 +00:00
Joel Collins
71ea3abda9 Converted config to a getter/setter property 2018-11-29 15:49:59 +00:00
Joel Collins
efaceda1dc Updated requirements to the correct fork of picamera 2018-11-29 14:47:01 +00:00
Joel Collins
160986f999 Merge branch 'master' of https://gitlab.com/openflexure/openflexure-microscope-software 2018-11-29 14:42:08 +00:00
Joel Collins
3925ef8cfe Moved hardware config to a runtime config YAML file in home 2018-11-29 14:41:56 +00:00
Richard Bowman
0a23a6d026 Update README.md
I've fixed a typo with the virtual environment creation and added a line to suggest you install the binary dependencies for Pillow and numpy/scipy.  We might want to mention the set up for the pi camera too.
2018-11-27 17:15:48 +00:00
Joel Collins
7a58b4e95e Moved plugin mounting to a Microscope method 2018-11-23 17:51:13 +00:00
Joel Collins
8e953e1064 Added documentation for attaching plugins 2018-11-23 17:40:36 +00:00
Joel Collins
034a45e400 Updated docs to include plugins 2018-11-23 17:34:20 +00:00
Joel Collins
2ef6395be2 Added demonstration of test plugins 2018-11-23 17:14:03 +00:00
Joel Collins
c0828cee1e Added example/test plugin 2018-11-23 17:13:48 +00:00
Joel Collins
0f47d0dca7 Started building Microscope plugin system 2018-11-23 17:13:38 +00:00
Joel Collins
c87878a7dc Tidied up new config load/save. Fixes #6. 2018-11-23 12:17:27 +00:00
Joel Collins
c887f990b5 Split loading, saving, and applying camera config file 2018-11-23 12:14:10 +00:00
Joel Collins
b73a8f7ec5 Recursive creation of missing directories 2018-11-23 11:17:34 +00:00
Joel Collins
cf96fa0ad2 Better handling of capture path and temporary files 2018-11-22 21:31:21 +00:00
Joel Collins
afc75b809c Added TODO 2018-11-22 21:30:30 +00:00
Joel Collins
27bd45fd8e Fixed error in handling payload parameters 2018-11-21 12:26:19 +00:00
Joel Collins
53e5cfd01f Streamlined POST methods with get_from_payload() 2018-11-21 12:19:21 +00:00
Joel Collins
1dad25ee62 Store capture timestring in StreamObject metadata 2018-11-21 12:05:23 +00:00
Joel Collins
d3226731d6 Properly clean up temporary capture files at API exit 2018-11-21 10:45:45 +00:00
Joel Collins
dce59f3b88 Fixed new download redirect route 2018-11-21 09:51:04 +00:00
Joel Collins
fbe17cc10a Removed redundant doc heading 2018-11-20 23:25:14 +00:00
Joel Collins
d5084160f4 Remove openflexure_stage submodule 2018-11-20 23:22:41 +00:00
Joel Collins
52f4c734a5 Removed redundant requirements 2018-11-20 23:06:47 +00:00