Merge branch 'main' of https://git.nehemis.fr/aniketSaha/NorthStar-HMI
This commit is contained in:
aniketSaha 2025-08-12 15:49:47 +02:00
commit e8755bd1de
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ sns.set(style="whitegrid")
plt.rcParams['figure.figsize'] = (14, 6)
# Chargement des données
df = pd.read_csv("recordings/recording_20250718_112807.csv", parse_dates=["timestamp"])
df = pd.read_csv("../recordings/recording_20250718_112807.csv", parse_dates=["timestamp"])
df_PatientSkid = df[df['pu'] == 'PatientSkid'].copy()

View File

@ -461,7 +461,7 @@ async def update_latest_flow():
try:
async with session.get("http://192.168.1.28:8000/instant_flow") as resp:
data = await resp.json()
latest_flow = int(data["log"]["flow"])
latest_flow = int(data["log"])
logging.debug(f"Updated flow: {latest_flow}")
latest_data["PatientSkid"]["QSkid"] = latest_flow