coverage changes
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user