diff --git a/newsfragments/XXX.bugfix b/newsfragments/XXX.bugfix new file mode 100644 index 000000000..53b8eafe7 --- /dev/null +++ b/newsfragments/XXX.bugfix @@ -0,0 +1 @@ +Don't set batch offset when creating image sequences. diff --git a/src/dxtbx/imageset.py b/src/dxtbx/imageset.py index 564ced681..f499d5c6e 100644 --- a/src/dxtbx/imageset.py +++ b/src/dxtbx/imageset.py @@ -570,9 +570,6 @@ def make_sequence( # Set the image range array_range = (min(indices) - 1, max(indices)) - if scan is not None: - assert array_range == scan.get_array_range() - scan.set_batch_offset(array_range[0]) # Get the format object and reader if format_class is None: