Private
Public Access
1
0

fixed alerts, manual testing completed

This commit is contained in:
2024-05-04 11:31:25 +02:00
parent 2544ea16a9
commit dfdaa566a0
4 changed files with 14 additions and 12 deletions

View File

@@ -101,9 +101,10 @@ def alert_get_stats(alert, nperiod=0): # pragma: no cover
ids = [w.id for w in workouts]
try:
df = read_data(columns, ids=ids, doclean=True,
workstrokesonly=workstrokesonly)
df = remove_nulls_pl(df)
df = getsmallrowdata_pd(columns, ids=ids, doclean=True,
workstrokesonly=workstrokesonly)
df.dropna(axis=1,how='all',inplace=True)
df.dropna(axis=0,how='all',inplace=True)
except:
return {
'workouts': workouts.count(),