diff --git a/src/aare/gui/panels/sample_queue_panel.py b/src/aare/gui/panels/sample_queue_panel.py index c8a0f4e4..b7b0ee00 100644 --- a/src/aare/gui/panels/sample_queue_panel.py +++ b/src/aare/gui/panels/sample_queue_panel.py @@ -415,7 +415,7 @@ class SampleQueuePanel(QFrame): self._emit_samples_in_queue_changed() self.automation_running_changed.emit(False) - @Slot(int, bool) + @Slot(int, bool, str) def automated_scan_done(self, db_id: int, success: bool, reply: str): if self._current_db_id is not None and db_id != self._current_db_id: return @@ -470,7 +470,7 @@ class SampleQueuePanel(QFrame): self.show_error_dialog( title=reply, msg="Critical Error", - info="Repeated mount failuers.\n" + info="Repeated mount failures.\n" "Please check to see if pins" " are loaded in these postions." "\n If not please continue with new " diff --git a/src/aare/gui/threads/daq_worker.py b/src/aare/gui/threads/daq_worker.py index 07a2c1d7..a96b51f3 100644 --- a/src/aare/gui/threads/daq_worker.py +++ b/src/aare/gui/threads/daq_worker.py @@ -111,7 +111,7 @@ class DAQWorker(QObject): # from /status; surfaced as a non-modal warning banner. pss_alarm_changed = Signal(bool) - automated_scan_done = Signal(int, bool, str) # sample ID, success + automated_scan_done = Signal(int, bool, str) # sample ID, success, message run_number_incremented = Signal() raster_scan_completed = Signal(CompletedRasterGrid) standard_scan_completed = Signal(CompletedRotationScan)