Skip to content

Commit

Permalink
Include xspress detector driver as a plugin to allow ndattributes rea…
Browse files Browse the repository at this point in the history
…ding.
  • Loading branch information
s25idcuser committed Jan 9, 2025
1 parent 2645708 commit d4366f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/haven/devices/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from .detectors.aravis import AravisDetector # noqa: F401
from .detectors.sim_detector import SimDetector # noqa: F401
from .detectors.xspress import Xspress3Detector # noqa: F401
from .ion_chamber import IonChamber # noqa: F401
from .monochromator import Monochromator # noqa: F401
from .motor import HavenMotor, Motor # noqa: F401
Expand Down
1 change: 1 addition & 0 deletions src/haven/devices/detectors/xspress.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def __init__(
path_provider,
lambda: self.name,
XspressDatasetDescriber(self.drv),
self.drv, # <- for DT ndattributes
),
config_sigs=(self.drv.acquire_period, self.drv.acquire_time, *config_sigs),
name=name,
Expand Down

0 comments on commit d4366f5

Please sign in to comment.