From 0ea86890a02b386853616314df466db87d68a9ee Mon Sep 17 00:00:00 2001 From: Aaron Brewster Date: Wed, 23 Aug 2023 09:31:23 -0700 Subject: [PATCH] Remove xfel reference that snuck in with nxmx_writer --- src/dxtbx/format/nxmx_writer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dxtbx/format/nxmx_writer.py b/src/dxtbx/format/nxmx_writer.py index 58e705484..96adca876 100644 --- a/src/dxtbx/format/nxmx_writer.py +++ b/src/dxtbx/format/nxmx_writer.py @@ -21,11 +21,12 @@ from libtbx.utils import Sorry from scitbx import matrix from scitbx.array_family import flex -from xfel.cftbx.detector.cspad_cbf_tbx import angle_and_axis, basis +from serialtbx.detector import basis from dials.util.options import ArgumentParser, flatten_experiments from dxtbx import flumpy +from dxtbx.format.FormatCBFMultiTile import angle_and_axis help_message = """ Create a NeXus file from either an experiment list or a set of image files @@ -724,7 +725,6 @@ def append_frame(self, index=None, data=None): def add_scan_and_gonio(self, scan=None, gonio=None): if scan is None or gonio is None: - assert scan is None and gonio is None scan = self.scan gonio = self.goniometer