Commit graph

749 commits

Author SHA1 Message Date
Joel Collins
02a9629faa Updated distribution name in version finder 2020-05-18 10:48:10 +01:00
Joel Collins
2059cc0a55 More broadly catch picamera import errors 2020-05-16 20:48:09 +01:00
Joel Collins
9217628e0c Fixed submodules 2020-05-15 17:49:30 +01:00
Joel Collins
e84dfb5809 Added eV build script 2020-05-15 15:24:30 +01:00
Joel Collins
d7ca8f8ae1 Set up eV submodule 2020-05-15 14:57:03 +01:00
Joel Collins
db9a0581b1 Removed old static files 2020-05-15 14:25:42 +01:00
Joel Collins
5f7d7be59f Removed old example extensions 2020-05-15 10:01:10 +01:00
Joel Collins
3a16a48d54 Fixed LST calibration endpoints 2020-05-12 14:29:11 +01:00
Joel Collins
eaf4cf09f5 Updated to new Action tasks 2020-05-12 11:29:53 +01:00
Joel Collins
28e555ad9b Added explicit endpoints 2020-05-10 16:35:16 +01:00
Joel Collins
93d29fbc8d Added full logger 2020-05-10 16:35:08 +01:00
Joel Collins
a34214b9fb Fixed broken references to capture list 2020-04-28 14:47:22 +01:00
Joel Collins
45ee112e6f Fixed broken references 2020-04-28 14:40:09 +01:00
Joel Collins
caf553db7a Moved capture management into separate object 2020-04-28 14:32:56 +01:00
Joel Collins
1a6088a816 Code formatting 2020-04-28 13:42:26 +01:00
Joel Collins
d4dbafcb52 Explicit __all__ in devel submodule 2020-04-28 13:20:48 +01:00
Joel Collins
9646058c37 Code format 2020-04-28 13:20:38 +01:00
Joel Collins
99ef24fb95 Remove unused (and old) import 2020-04-24 17:31:48 +01:00
Joel Collins
ef5b3393f9 Merge branch 'csm-calibration-file' into 'master'
Added calibration data download view

See merge request openflexure/openflexure-microscope-server!56
2020-04-24 16:30:46 +00:00
Joel Collins
a1f3dd1624 Added calibration data download view 2020-04-24 16:42:35 +01:00
Joel Collins
6fcd8caf91 Merge branch 'autofocus-error-messages' into 'master'
Autofocus error messages

See merge request openflexure/openflexure-microscope-server!54
2020-04-24 15:14:37 +00:00
Joel Collins
cda5cdbb44 Switched away from using JSONify 2020-04-24 16:05:01 +01:00
Joel Collins
abd291f1e0 Base OFM JSON encoder on LabThings encoder 2020-04-23 14:25:19 +01:00
Richard Bowman
be85d07210 Attempt to start the stream if it's stopped. 2020-04-23 11:22:14 +01:00
Richard Bowman
5a4aae8ed1 Added helpful errors if the stream has stopped 2020-04-23 11:15:10 +01:00
Richard Bowman
161c17812e Removed vestigial global statement
There was a global declaration for the modules
np and logging, probably left over from running
this code in the dodgy console plugin.  I've
removed it as it's ugly, dodgy, and no longer
needed.
2020-04-23 11:10:36 +01:00
Richard Bowman
6213620031 Enable ipv6
Setting the listen address to :: puts flask into ipv6 mode.
This makes it compatible with ipv6 and, thanks
to the system automatically translating ipv4
into ipv6, it is completely compatible with ipv4
as well.
2020-04-23 10:42:49 +01:00
Richard Bowman
102264c4be The "actions" endpoint shouldn't be tagged
The actions endpoint (responds only to GET, lists the actions)
is not itself an action.
The ``@tag("actions")`` causes LabThings to try to include
it as an action, which fails.
Removing the tag makes the server run again -
but maybe I've broken something else here?
2020-04-23 08:09:21 +01:00
Richard Bowman
70d4c7e950 Merge branch 'master' into stage-calibration 2020-04-10 15:16:25 +01:00
Joel Collins
13d18b4101 Removed medscan extension (now in separate repo) 2020-04-01 11:39:09 +01:00
Joel Collins
a5d5b6cda2 Removed example component from default extensions 2020-04-01 10:31:50 +01:00
Joel Collins
c1205fff3e Added step progress to section titles 2020-04-01 10:26:21 +01:00
Joel Collins
19c4f02f8d Added basic wizard content 2020-04-01 10:25:20 +01:00
Joel Collins
26086aaea7 Started drafting medscan extension 2020-03-31 16:25:04 +01:00
Joel Collins
0c695a377c Fixed debug app for example custom element 2020-03-31 16:24:41 +01:00
Joel Collins
a9239ab898 Added debug serve command 2020-03-31 13:52:17 +01:00
Joel Collins
6f4791ec57 Merge branch 'master' into 'hotfix-2.0.x'
# Conflicts:
#   openflexure_microscope/api/app.py
#   poetry.lock
#   pyproject.toml
2020-03-31 10:10:33 +00:00
Joel Collins
3836c70b2c Monkey patch all 2020-03-31 10:53:44 +01:00
Joel Collins
37dc7b055c Fixed missing microscope parameter for autofocus 2020-03-30 17:04:09 +01:00
Joel Collins
de5894964e Explicitally use gevent for camera stream thread 2020-03-27 16:40:06 +00:00
Joel Collins
78edb695bf Default to not debug mode 2020-03-27 16:39:40 +00:00
Joel Collins
093c3d0446 Merge branch 'flatten_lst_route' into 'master'
Added a route to flatten the lens shading table

Closes openflexure-microscope-jsclient#62

See merge request openflexure/openflexure-microscope-server!45
2020-03-27 16:32:03 +00:00
Richard Bowman
f2768c9cad sorted docs and comments 2020-03-27 16:11:47 +00:00
Richard Bowman
6e94722ff4 removed spurious matplotlib dependency 2020-03-27 16:11:28 +00:00
Richard Bowman
1426848283 Nicely handle errors loading default extensions 2020-03-27 16:11:10 +00:00
Richard Bowman
f338b3b869 Turned debug mode back off 2020-03-27 16:10:49 +00:00
Joel Collins
9bddca6aaa Removed excessive debug logging 2020-03-27 15:07:44 +00:00
Joel Collins
43c8fea37f Use LabThings ClientEvent 2020-03-27 15:07:11 +00:00
Joel Collins
9e4934c054 Merge branch 'master' of https://gitlab.com/openflexure/openflexure-microscope-server 2020-03-27 14:17:57 +00:00
Joel Collins
b9fb94d19d Added debug output and stage lock on fast autofocus 2020-03-27 14:17:11 +00:00