Correction calcul max particioants

This commit is contained in:
David 2023-01-04 14:18:25 +01:00
parent f4261fbca5
commit f960614be7

View File

@ -91,7 +91,6 @@ class Stats:
max_tot.append(int(mx[0])) max_tot.append(int(mx[0]))
tot_part_end = np.max(max_tot) tot_part_end = np.max(max_tot)
tot_part = int(tot_part_end) - int(tot_part_start) tot_part = int(tot_part_end) - int(tot_part_start)
print(tot_part_start,tot_part_end,tot_part)
res = self.db.dbQuery(f"""SELECT * FROM {dbName} WHERE timestamp > {self.startDate} AND timestamp < {self.endDate} ORDER by id""") res = self.db.dbQuery(f"""SELECT * FROM {dbName} WHERE timestamp > {self.startDate} AND timestamp < {self.endDate} ORDER by id""")
consolided = {} consolided = {}