adding rpe and goldmedalstandard
This commit is contained in:
@@ -1656,7 +1656,7 @@ def getfatigues(
|
||||
weight = 0
|
||||
for w in ws:
|
||||
weight += factor*getattr(w,metricchoice)
|
||||
if getattr(w,metricchoice) == 0:
|
||||
if getattr(w,metricchoice) <= 0:
|
||||
if metricchoice == 'rscore' and w.hrtss != 0:
|
||||
weight+= factor*w.hrtss
|
||||
else:
|
||||
@@ -1866,7 +1866,7 @@ def performance_chart(user,startdate=None,enddate=None,kfitness=42,kfatigue=7,
|
||||
toolbar_location=None,
|
||||
toolbar_sticky=False)
|
||||
|
||||
|
||||
|
||||
|
||||
plot2.x_range = xrange
|
||||
plot2.y_range = Range1d(0,df['impulse'].max())
|
||||
|
||||
Reference in New Issue
Block a user