Skip to content

Commit

Permalink
Clean Clutter
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondLightSource-build-server committed Apr 24, 2024
1 parent e357acc commit ee74a3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dxtbx/format/FormatXTC.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def _load_hit_indices(self):
key = lambda x: x[0]
gb = groupby(sorted(hits, key=key), key=key)
# dictionary where key is run number, and vals are indices of hits
self._hit_inds = {r:[ind for _,ind in group] for r,group in gb}
self._hit_inds = {r: [ind for _, ind in group] for r, group in gb}

@staticmethod
def understand(image_file):
Expand Down Expand Up @@ -253,7 +253,7 @@ def populate_events(self):
if self._hit_inds is not None and run_num in self._hit_inds:
temp = []
for i_hit in self._hit_inds[run_num]:
temp.append( times[i_hit] )
temp.append(times[i_hit])
times = tuple(temp)
if (
self.params.filter.required_present_codes
Expand Down

0 comments on commit ee74a3d

Please sign in to comment.