diff --git a/src/calng/DsscCorrection.py b/src/calng/DsscCorrection.py index 6468a769dbb522d78a8c41a720709e4d7fe060e1..ca78bdf6cf445c862fd434dee174a04820dcada5 100644 --- a/src/calng/DsscCorrection.py +++ b/src/calng/DsscCorrection.py @@ -589,6 +589,9 @@ class DsscCorrection(calibrationBase.CalibrationReceiverBaseDevice): self.set("status", msg) else: preview_slice_index = pulse_id_found[0] + if (not do_apply_correction) and can_correct: + # in this case, cell table has not been loaded, but needs to be now + self.gpu_runner.load_cell_table(cell_table) preview_raw, preview_corrected = self.gpu_runner.compute_preview( preview_slice_index, have_corrected=do_apply_correction,