diff --git a/setup.cfg b/setup.cfg index 93fedba36..e642a9574 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,7 +24,7 @@ install_requires = ispyb scanspec numpy - nexgen>0.8.3 + nexgen>=0.9.1 opentelemetry-distro opentelemetry-exporter-jaeger ophyd diff --git a/src/hyperion/external_interaction/nexus/nexus_utils.py b/src/hyperion/external_interaction/nexus/nexus_utils.py index c07b2663f..8c58ccc07 100644 --- a/src/hyperion/external_interaction/nexus/nexus_utils.py +++ b/src/hyperion/external_interaction/nexus/nexus_utils.py @@ -6,7 +6,7 @@ import numpy as np from dodal.devices.detector import DetectorParams from nexgen.nxs_utils import Attenuator, Axis, Beam, Detector, EigerDetector, Goniometer -from nexgen.nxs_utils.Axes import TransformationType +from nexgen.nxs_utils.axes import TransformationType from numpy.typing import DTypeLike from hyperion.log import NEXUS_LOGGER diff --git a/src/hyperion/external_interaction/nexus/write_nexus.py b/src/hyperion/external_interaction/nexus/write_nexus.py index 3d315ba13..9247f67ed 100644 --- a/src/hyperion/external_interaction/nexus/write_nexus.py +++ b/src/hyperion/external_interaction/nexus/write_nexus.py @@ -11,7 +11,7 @@ from dodal.utils import get_beamline_name from nexgen.nxs_utils import Attenuator, Beam, Detector, Goniometer, Source -from nexgen.nxs_write.NXmxWriter import NXmxFileWriter +from nexgen.nxs_write.nxmx_writer import NXmxFileWriter from numpy.typing import DTypeLike from hyperion.external_interaction.nexus.nexus_utils import (