Merge branch 'feature/eff_metric' into develop
This commit is contained in:
@@ -3571,19 +3571,25 @@ def multiflex_view(request,userid=0,
|
||||
|
||||
# prepare data frame
|
||||
datadf = dataprep.read_cols_df_sql(ids,fieldlist)
|
||||
|
||||
|
||||
|
||||
datadf = dataprep.clean_df_stats(datadf,workstrokesonly=workstrokesonly)
|
||||
|
||||
|
||||
datadf = dataprep.filter_df(datadf,'spm',spmmin,
|
||||
largerthan=True)
|
||||
datadf = dataprep.filter_df(datadf,'spm',spmmax,
|
||||
largerthan=False)
|
||||
|
||||
datadf = dataprep.filter_df(datadf,'driveenergy',workmin,
|
||||
largerthan=True)
|
||||
datadf = dataprep.filter_df(datadf,'driveneergy',workmax,
|
||||
largerthan=False)
|
||||
|
||||
|
||||
datadf.dropna(axis=0,how='any',inplace=True)
|
||||
|
||||
|
||||
datemapping = {
|
||||
w.id:w.date for w in workouts
|
||||
}
|
||||
@@ -4038,7 +4044,6 @@ def workouts_view(request,message='',successmessage='',
|
||||
else:
|
||||
activity_enddate = enddate
|
||||
|
||||
print "aap",activity_enddate
|
||||
|
||||
if teamid:
|
||||
try:
|
||||
@@ -5631,7 +5636,7 @@ def workout_flexchart3_view(request,*args,**kwargs):
|
||||
axchoicespro.pop('totalangle')
|
||||
axchoicespro.pop('effectiveangle')
|
||||
axchoicespro.pop('peakforceangle')
|
||||
|
||||
axchoicespro.pop('efficiency')
|
||||
|
||||
return render(request,
|
||||
'flexchart3otw.html',
|
||||
|
||||
Reference in New Issue
Block a user