From 0899159993e2df100efe5bd3bcde4a546deaa9f4 Mon Sep 17 00:00:00 2001 From: David Hammer <dhammer@mailbox.org> Date: Thu, 7 Oct 2021 18:02:00 +0200 Subject: [PATCH] Removing stale TODOs --- src/calng/AgipdCorrection.py | 2 -- src/calng/DsscCorrection.py | 1 - 2 files changed, 3 deletions(-) diff --git a/src/calng/AgipdCorrection.py b/src/calng/AgipdCorrection.py index 02cea77b..fa8e074b 100644 --- a/src/calng/AgipdCorrection.py +++ b/src/calng/AgipdCorrection.py @@ -227,7 +227,6 @@ class AgipdCorrection(BaseCorrection): # cell_table = cell_table[self.pulse_filter] pulse_table = np.squeeze(data.get("image.pulseId")) # [self.pulse_filter] cell_table_max = np.max(cell_table) - # TODO: all this checking and warning can go into GPU runner if cell_table_max >= correction_cell_num: self.log_status_info( f"Max cell ID ({cell_table_max}) exceeds range for loaded " @@ -247,7 +246,6 @@ class AgipdCorrection(BaseCorrection): preview_slice_index = self._schema_cache["preview.pulse"] if preview_slice_index >= 0: # look at pulse_table to find which index this pulse ID is in - # TODO: move this to GPU pulse_id_found = np.where(pulse_table == preview_slice_index)[0] if len(pulse_id_found) == 0: pulse_found_instead = pulse_table[0] diff --git a/src/calng/DsscCorrection.py b/src/calng/DsscCorrection.py index 3c5b8f18..5dd32976 100644 --- a/src/calng/DsscCorrection.py +++ b/src/calng/DsscCorrection.py @@ -55,7 +55,6 @@ class DsscCorrection(BaseCorrection): def process_input(self, data, metadata): """Registered for dataInput, handles all processing and sending""" - # TODO: compare KARABO_ON_INPUT (old) against KARABO_ON_DATA (current) source = metadata.get("source") if source not in self.sources: -- GitLab