@@ -199,7 +199,7 @@ class ObservationControl(lofar_device):
...
@@ -199,7 +199,7 @@ class ObservationControl(lofar_device):
self.stop_observation(obs_id)
self.stop_observation(obs_id)
else:
else:
# The observation that we are trying to process is not part of the running_obs dictionary
# The observation that we are trying to process is not part of the running_obs dictionary
logger.warning("Received an observation_running event for the observation with ID=%s. According to the records in ObservationControl, this observation is not supposed to run. Please check previous logs, especially around the time an observation with this ID was started. Will continue and ignore this event.",obs_id)
logger.warning(f"Received an observation_running event for the observation with ID={obs_id}. According to the records in ObservationControl, this observation is not supposed to run. Please check previous logs, especially around the time an observation with this ID was started. Will continue and ignore this event.")
return
return
@only_when_on()
@only_when_on()
...
@@ -404,7 +404,7 @@ class ObservationControl(lofar_device):
...
@@ -404,7 +404,7 @@ class ObservationControl(lofar_device):
error=f"Cannot check if an observation with ID={obs_id} is running, because the observation ID is invalid"
error=f"Cannot check if an observation with ID={obs_id} is running, because the observation ID is invalid"