Commit graph

73 commits

Author SHA1 Message Date
Joel Collins
6092e8ab5d Rearranged for clarity 2020-03-15 16:30:19 +00:00
Joel Collins
a1531e9b14 Fixed capture key types 2020-03-01 18:04:33 +00:00
Joel Collins
60c6ae72f8 Handle captures as an OrderedDict. Fixes file deletion 2020-03-01 17:57:30 +00:00
Joel Collins
0595d3c620 Let camera object handle its own library rebuild 2020-02-18 16:16:06 +00:00
Joel Collins
cf66359559 Reimplemented serialising LST 2020-02-06 13:35:05 +00:00
Joel Collins
9b4bf4c8fc Moved status routes to instrument/state 2020-01-29 17:43:52 +00:00
Joel Collins
19af98736d Draft of new semantics 2020-01-29 11:55:39 +00:00
jtc42
36334ed743 Moved to a LabThings dependency for server 2020-01-17 15:13:32 +00:00
Joel Collins
feddcc546b Changed preferred paths to use PROGRAMDATA, /var, and /etc 2020-01-16 16:31:19 +00:00
Joel Collins
bf9a1e358e Fixed finding captures by UUID 2020-01-14 15:29:35 +00:00
jtc42
a8a3cafa97 Restructured labthings 2019-12-21 12:10:09 +00:00
Joel Collins
6de315fd48 Drafted ZipBuilder plugin 2019-11-28 16:01:05 +00:00
jtc42
6581612312 Implemented root API v2 routes 2019-11-14 16:33:00 +00:00
Joel Collins
b81cfaf9e7 Converted all configs to JSON 2019-11-12 14:36: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
1c67b96895 Added a useful read_config method to BaseCamera 2019-09-20 14:12:49 +01:00
Joel Collins
33af3bf48c Add "board" to all device states 2019-09-19 17:22:04 +01:00
Joel Collins
b0be4fc26a Capture 'temporary' status now stored as tag 2019-09-19 14:23:12 +01:00
Joel Collins
8b9ecbe2c7 Tidied up todos 2019-09-16 17:34:33 +01:00
Joel Collins
dc794d4df8 Microscope capture objects now just handle on-disk data 2019-09-16 16:35:32 +01:00
Joel Collins
a832dfb2f1 Use get_ident from threading 2019-09-15 14:28:18 +01:00
Joel Collins
5966ce29be Blackened everything 2019-09-15 14:17:52 +01:00
jtc42
4733b250ed Added support for a fully mocked device 2019-06-28 12:52:55 +01:00
Joel Collins
f31c28fe52 Fixed read and apply config dicts 2019-06-12 17:23:24 +01:00
Joel Collins
f7ba68b443 Converted base camera into an ABC 2019-06-04 14:03:30 +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
092181348b Load capture objects from files. Remove YAML database. 2019-05-15 16:32:58 +01:00
Joel Collins
2108dea007 Defaut new images to write to file 2019-05-01 14:46:00 +01:00
Joel Collins
fface9994e Fixed merge conflicts and simplified new capture creation 2019-04-26 18:32:32 +01:00
Joel Collins
ea44bbefd2 Simplified creation of new capture objects 2019-04-26 18:26:27 +01:00
jtc42
8a564bbdba Fixed default video folder NoneType 2019-04-19 09:06:14 +01:00
Joel Collins
28561433a0 Malformed capture db no longer crashes server 2019-04-15 19:14:31 +01:00
Joel Collins
941aadebfe Merge branch 'temporary-scan-captures' into 'master'
Temporary scan captures

See merge request openflexure/openflexure-microscope-server!10
2019-04-14 09:00:21 +00:00
Joel Collins
7cf54240be Temp capture folder now handled by camera 2019-04-11 07:13:32 +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
4602b1da9d Testing not re-saving EXIF on exit 2019-03-28 14:45:51 +00:00
Joel Collins
2cdc20b08e Handle empty or malformed capture list 2019-03-28 14:18:01 +00:00
Joel Collins
2fe7722da6 Added subdirectory support for captures 2019-03-06 17:04:04 +00:00
Joel Collins
51ac8a0647 Disabled stream timeout by default 2019-02-26 13:53:33 +00:00
Joel Collins
e8fb3b378c Fixed missing capture validation 2019-02-18 12:11:33 +00:00
Joel Collins
340b3dda89 Initial testing for exif metadata 2019-02-18 10:53:18 +00:00
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
cb122e5ef6 Moved static methods to functions 2019-01-31 13:27:35 +00:00
Joel Collins
f2a3261b03 Overhauled config loader to allow split configs 2019-01-30 17:45:11 +00:00
Joel Collins
363094170e Added/updated docs 2019-01-24 14:05:57 +00:00
Joel Collins
8292ebf7c7 Implement hardware locks 2019-01-24 12:11:01 +00:00