removing gs for release
This commit is contained in:
@@ -3501,19 +3501,19 @@ def workout_stats_view(request,id=0,message="",successmessage=""):
|
||||
goldmedalstandard,goldmedalseconds = dataprep.workout_goldmedalstandard(w)
|
||||
|
||||
|
||||
if not np.isnan(goldmedalstandard) and goldmedalstandard > 0:
|
||||
otherstats['goldmedalstandard'] = {
|
||||
'verbose_name': 'Gold Medal Standard',
|
||||
'value': int(goldmedalstandard),
|
||||
'unit': '%',
|
||||
}
|
||||
#if not np.isnan(goldmedalstandard) and goldmedalstandard > 0:
|
||||
# otherstats['goldmedalstandard'] = {
|
||||
# 'verbose_name': 'Gold Medal Standard',
|
||||
# 'value': int(goldmedalstandard),
|
||||
# 'unit': '%',
|
||||
# }
|
||||
|
||||
if not np.isnan(goldmedalseconds) and goldmedalseconds > 0:
|
||||
otherstats['goldmedalseconds'] = {
|
||||
'verbose_name': 'Gold Medal Standard Duration',
|
||||
'value': utils.totaltime_sec_to_string(goldmedalseconds,shorten=True),
|
||||
'unit': '',
|
||||
}
|
||||
#if not np.isnan(goldmedalseconds) and goldmedalseconds > 0:
|
||||
# otherstats['goldmedalseconds'] = {
|
||||
# 'verbose_name': 'Gold Medal Standard Duration',
|
||||
# 'value': utils.totaltime_sec_to_string(goldmedalseconds,shorten=True),
|
||||
# 'unit': '',
|
||||
# }
|
||||
|
||||
|
||||
if not np.isnan(tss) and tss != 0:
|
||||
|
||||
Reference in New Issue
Block a user