Skip to content
Snippets Groups Projects
Commit 2fd8197d authored by Sander de Snoo's avatar Sander de Snoo
Browse files

Improved error message

parent 2de1af71
No related branches found
No related tags found
Loading
......@@ -42,7 +42,7 @@ class acquisition_data(parent_data):
"""
acquisition.start += self.start_time
if acquisition.start <= self._last_acquisition:
raise Exception('Acquisition cannot be inserted before other acquisition')
raise Exception('Acquisition cannot be added at same time or before other acquisition')
self._last_acquisition = acquisition.start
self.data.append(acquisition)
end_time = acquisition.start
......
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