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
235aa984f9
Updated docs
2019-06-07 13:37:20 +01:00
Joel Collins
0f8070b64a
Smarter server teardown procedure
2019-06-05 16:04:32 +01:00
Joel Collins
0d8396b3e4
Fixed Microscope and camera arguments
2019-06-04 14:04:07 +01:00
Joel Collins
3b9ef670fe
Improved flake8 results
2019-05-24 16:32:20 +01:00
Joel Collins
e30956d761
Renamed video_resolution to stream_resolution
2019-05-20 10:55:43 +01:00
Joel Collins
78882ab4c5
Removed debug print
2019-05-20 10:06:15 +01:00
Joel Collins
092181348b
Load capture objects from files. Remove YAML database.
2019-05-15 16:32:58 +01:00
Joel Collins
63c0492022
Added route to download logfile
2019-05-15 15:30:28 +01:00
Joel Collins
ff534e6a51
Initial support for SBv3 and MockStage
2019-05-15 13:25:04 +01:00
Joel Collins
727c3ee715
Removed old client from API root
2019-05-05 20:59:57 +01:00
jtc42
b7a457fce1
Tidied up todos
2019-04-19 09:11:48 +01:00
jtc42
06a9aeeba5
Added route to list all routes
2019-04-18 12:41:32 +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
f9fb6dc721
Default to not temporary
2019-04-09 14:57:19 +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
a98158634c
Close the camera if the stage cannot be opened
2019-03-21 17:48:45 +00:00
Joel Collins
d445b359e9
Let gunicorn handle logging
2019-03-19 12:46:16 +00:00
Joel Collins
6b3dca9f61
Fixed passing non-integers into preview window params
2019-02-25 14:23:08 +00:00
Joel Collins
b9bb89ce3f
Fixed HTTP exceptions not returning with correct HTTP status code
2019-02-20 13:26:21 +00:00
Joel Collins
3bf3b0f0c2
Fixed tag put route
2019-02-20 11:08:19 +00:00
Joel Collins
366b771b72
Added size and position params to GPU preview route
2019-02-19 11:04:12 +00:00
Joel Collins
51cd776700
Store stage position in metadata
2019-02-19 10:43:33 +00:00
Joel Collins
05f52bbdeb
Process all initial tags in one call
2019-02-18 11:30:38 +00:00
Joel Collins
404f28a8e0
Add metadata and tags at capture-time
2019-02-14 17:00:27 +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
63336757d4
Better handle missing error.message
2019-01-31 16:48:19 +00:00
Joel Collins
04bed170a0
Added JSON safety to config reads
2019-01-31 16:47:54 +00:00
Joel Collins
e9d74c07e6
Separated updating/writing from saving config
2019-01-31 13:51:02 +00:00
Joel Collins
8087e4d445
Updated to use apply_config and read_config instead of setters and getters
2019-01-31 13:34:14 +00:00
Joel Collins
323c48858d
Updated to use api_microscope.rc.asdict(), and minor formatting changes
2019-01-31 13:26:56 +00:00
Joel Collins
36b0cb0be0
Save config on server shutdown
2019-01-30 18:23:58 +00:00
Joel Collins
f2a3261b03
Overhauled config loader to allow split configs
2019-01-30 17:45:11 +00:00
Joel Collins
7ad1e7507f
Use a sensible error handler
2019-01-30 12:02:27 +00:00
Joel Collins
6743882bf1
Corrected the abort code for missing resource
2019-01-29 14:43:22 +00:00
Joel Collins
cc36aa7593
Fixed a bug where malformed JSON payloads prevented default param values from returning
2019-01-29 13:54:32 +00:00
Joel Collins
a11d2145d9
Fixed broken error handling for long-running tasks
2019-01-28 17:49:44 +00:00
Joel Collins
465ed647d3
Fixed docstrings
2019-01-24 16:24:14 +00:00
Joel Collins
80cc74bd3d
Fixed plugin blueprint method name clashing
2019-01-24 14:14:25 +00:00
Joel Collins
cb441201c6
Explicitally acquire camera lock
2019-01-24 14:05:45 +00:00
Joel Collins
27043240f3
Added explicit lock ecquisition
2019-01-24 14:05:05 +00:00
Joel Collins
488b94eee6
Updated LockError location
2019-01-24 14:04:12 +00:00
Joel Collins
8292ebf7c7
Implement hardware locks
2019-01-24 12:11:01 +00:00
Joel Collins
a40cb9b9f6
Implemented basic threaded tasks for long-running functionality
2019-01-23 16:48:49 +00:00
Joel Collins
0dff9b6b39
Enable web UI to run when no stage is connected
2019-01-22 14:47:11 +00:00
Joel Collins
a6332f4f30
Updated self-served client to new version
2019-01-22 13:46:46 +00:00
Joel Collins
0e23ce8d0b
Added web routes for tagging captures
2019-01-22 12:09:42 +00:00