openflexure-microscope-server/openflexure_microscope/api
Richard Bowman 6e7adb66cd Fix handling of missing CSM matrix
The code checks for the camera-stage mapper matrix by looking at its truth value.
However, this is ambiguous because the matrix has many elements.  That means that
if it's missing, we get the expected result, but if it's present
we get an error.

I have avoided dict.get() and instead look it up with [] notation.
This will raise a KeyError if it's missing, which I
handle helpfully.
If the key is present but the value is not castable to an array, we'll
get an exception anyway.
2021-04-28 22:29:56 +01:00
..
default_extensions Fix handling of missing CSM matrix 2021-04-28 22:29:56 +01:00
dev_extensions 2.9 dev numpy types 2020-12-04 13:35:11 +00:00
static Merge branch 'master' into auto-exposure-gain-awb 2021-04-21 12:10:47 +01:00
utilities Static type analysis 2020-11-30 13:36:45 +00:00
v2 Minor linting improvements 2021-04-27 11:17:11 +01:00
__init__.py Removed old plugin system 2019-12-18 15:04:55 +00:00
app.py Formatting fixes 2021-03-31 09:40:31 +01:00