Private
Public Access
1
0

coverage changes

This commit is contained in:
Sander Roosendaal
2021-09-15 10:10:48 +02:00
parent 86cef108fe
commit 8205fd3c3f
12 changed files with 26 additions and 19 deletions

View File

@@ -2153,7 +2153,7 @@ def interactive_histoall(theworkouts,histoparam,includereststrokes,
# throw out nans
histopwr = histopwr[~np.isinf(histopwr)]
if histoparam == 'catch':
if histoparam == 'catch': # pragma: no cover
histopwr = histopwr[histopwr < yaxminima[histoparam]]
histopwr = histopwr[histopwr > yaxmaxima[histoparam]]
else:
@@ -6871,7 +6871,7 @@ def interactive_zoneschart(rower,data,startdate,enddate,trainingzones='hr',date_
df.sort_values('date_sorting',inplace=True)
df.drop('date_sorting',inplace=True,axis='columns')
df['totaltime'] = 0
if df.empty:
if df.empty: # pragma: no cover
return '','No Data Found'
if yaxis == 'percentage':