Skip to content

Commit

Permalink
We do not slice using the "array_range"!
Browse files Browse the repository at this point in the history
  • Loading branch information
dagewa committed May 5, 2023
1 parent 78e63ee commit d9efffc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dxtbx/model/experiment_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,7 @@ def from_sequence_and_crystal(imageset, crystal, load_models=True):
# if imagesequence is still images, make one experiment for each
# all referencing into the same image set
if imageset.get_scan().is_still():
start, end = imageset.get_scan().get_array_range()
for j in range(start, end):
for j in range(len(imageset)):
subset = imageset[j : j + 1]
experiments.append(
Experiment(
Expand Down

0 comments on commit d9efffc

Please sign in to comment.