Commit a9fa956e authored by Your Name's avatar Your Name

Merge branch 'master' of https://ohwr.org/project/hev

parents 1bf42012 4c8afd4e
Pipeline #722 failed
......@@ -48,7 +48,7 @@ class NativeUI(HEVClient, QMainWindow):
if (payload["type"] == "DATA"):
self.data = payload["DATA"]
# remove first entry and append plot data to end
self.plots = np.append(np.delete(self.plots, 0, 0), [[self.data["timestamp"], self.data["pressure_patient"], 0, 0]], axis=0)
self.plots = np.append(np.delete(self.plots, 0, 0), [[self.data["timestamp"], self.data["pressure_patient"], self.data["flow"], self.data["volume"]]], axis=0)
except KeyError:
logging.warning(f"Invalid payload: {payload}")
......
Markdown is supported
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