rename shared lib

This commit is contained in:
Erik Frojdh
2020-02-13 17:37:27 +01:00
parent d3d8d7ba8e
commit 7665d7b33a
12 changed files with 183 additions and 183 deletions

View File

@ -5,7 +5,7 @@ but not directly used in controlling the detector
from collections import namedtuple
import _sls_detector #C++ lib
import _slsdet #C++ lib
import functools
@ -29,7 +29,7 @@ def list_to_bitmask(values):
return mask
def to_geo(value):
if isinstance(value, _sls_detector.xy):
if isinstance(value, _slsdet.xy):
return Geometry(x = value.x, y = value.y)
else:
raise ValueError("Can only convert sls_detector.xy")