mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
compare_results: debug timestamps
This commit is contained in:
1 parent
4e87135bf4
commit
589b8dcd23
6 files changed
+23
-22
No files matched your search
@@ -42,12 +42,11 @@ class PlotRKC(PamhyrPlot):
|
||||
parent=parent
|
||||
)
|
||||
|
||||
self._timestamps = results[res_id].get("timestamps")
|
||||
self._current_timestamp = max(results[res_id].get("timestamps"))
|
||||
self._current_timestamp = max(self._timestamps)
|
||||
self._current_reach_id = reach_id
|
||||
self._current_profile_id = profile_id
|
||||
self._current_res_id = res_id
|
||||
self._timestamps = parent._timestamps
|
||||
self._current_timestamp = max(self._timestamps)
|
||||
|
||||
self.label_x = self._trad["unit_rk"]
|
||||
self.label_y = self._trad["unit_elevation"]
|
||||
@@ -65,7 +64,7 @@ class PlotRKC(PamhyrPlot):
|
||||
@results.setter
|
||||
def results(self, results):
|
||||
self.data = results
|
||||
self._current_timestamp = max(results[self._current_res_id].get("timestamps"))
|
||||
self._current_timestamp = max(self._timestamps)
|
||||
|
||||
@timer
|
||||
def draw(self, highlight=None):
|
||||
|
||||
Reference in new issue
Block a user