From ee74a3d99e3033c684025795f1d28d31e78d7171 Mon Sep 17 00:00:00 2001 From: DiamondLightSource-build-server Date: Wed, 24 Apr 2024 08:47:50 +0100 Subject: [PATCH] Clean Clutter --- src/dxtbx/format/FormatXTC.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dxtbx/format/FormatXTC.py b/src/dxtbx/format/FormatXTC.py index 3016ce4fd..cb70f7448 100644 --- a/src/dxtbx/format/FormatXTC.py +++ b/src/dxtbx/format/FormatXTC.py @@ -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): @@ -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