Skip to content
Snippets Groups Projects
Commit beda6c41 authored by David Hammer's avatar David Hammer
Browse files

Removing stale TODOs

parent 60f74673
No related branches found
No related tags found
2 merge requests!12Snapshot: field test deployed version as of end of run 202201,!3Base correction device, CalCat interaction, DSSC and AGIPD devices
......@@ -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]
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment