Private
Public Access
1
0

small changes

This commit is contained in:
Sander Roosendaal
2017-08-07 09:50:20 +02:00
parent de01ce53c1
commit bd4020d9a9
2 changed files with 3 additions and 1 deletions

View File

@@ -1001,6 +1001,9 @@ def getrowdata_db(id=0,doclean=False):
else:
row = Workout.objects.get(id=id)
if data['efficiency'].mean() == 0 and data['power'].mean() != 0:
data = add_efficiency(id=id)
if doclean:
data = clean_df_stats(data,ignorehr=True)