Commit 23ba1320 authored by Domanski, Marian M.'s avatar Domanski, Marian M.
Browse files

add check for start time

parent edd756e2
......@@ -247,6 +247,9 @@ class UnsteadyHydraulicCell(HydraulicCell):
super().__init__()
if start_time < property_time_series.index[0]:
raise ValueError("Start time before beginning of time series")
self._length = length
self._depth = None
self._discharge = None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment