Skip to content

Commit

Permalink
Don't set batch offset when creating image sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeilstenedmands committed Oct 17, 2023
1 parent cd03663 commit cf044ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions newsfragments/XXX.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Don't set batch offset when creating image sequences.
3 changes: 0 additions & 3 deletions src/dxtbx/imageset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cf044ff

Please sign in to comment.