Commit graph

137 commits

Author SHA1 Message Date
Joel Collins
e1b021583b Rewritten plugin attacher for new system 2018-12-12 15:00:49 +00:00
Joel Collins
6d464349b7 Completely rewritten plugin loader to accept absolute modules, or single file paths 2018-12-12 15:00:30 +00:00
Joel Collins
86cc29ee84 Added default and test plugins to default microscoperc 2018-12-12 14:59:48 +00:00
Joel Collins
bde2e9de2a Moved plugins up one level and added new view plugins 2018-12-12 14:58:55 +00:00
Joel Collins
ac5f26ef6b Removed pointless second plugin from one file 2018-12-11 17:27:44 +00:00
Joel Collins
87901131a0 Make default plugins importable 2018-12-11 17:22:17 +00:00
Joel Collins
be084f6f57 Added API plugin demo 2018-12-11 17:22:01 +00:00
Joel Collins
4cbfe16cc2 Edit return methods for API plugin example 2018-12-11 17:21:37 +00:00
Joel Collins
2fdabccfb0 Added user plugin directory to defaults path 2018-12-11 17:21:18 +00:00
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