Skip to content

Commit

Permalink
Fixed wrong call to __logger -> log
Browse files Browse the repository at this point in the history
  • Loading branch information
lange50 committed Apr 25, 2025
1 parent 7a81909 commit 9759f54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qudi/logic/terascan_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def configure_scan(self,
self._end_wavelength = stop
self.sigSetLaserWavelengths.emit(start, stop)
else:
self.__logger.warning(
self.log.warning(
'Tried to configure while a scan was running.'\
'Please wait until it is finished or stop it.')

Expand All @@ -198,7 +198,7 @@ def set_scan_rate(self, scan_rate: int):
self._scan_rate = scan_rate
self.sigSetLaserScanRate.emit(scan_rate)
else:
self.__logger.warning(
self.log.warning(
'Tried to configure while a scan was running.'\
'Please wait until it is finished or stop it.')

Expand All @@ -213,7 +213,7 @@ def set_scan_type(self, scan_type: int):
self.sigSetLaserScanRate.emit(self._scan_rate)

else:
self.__logger.warning(
self.log.warning(
'Tried to configure while a scan was running.'\
'Please wait until it is finished or stop it.')

Expand Down

0 comments on commit 9759f54

Please sign in to comment.