failed to mock interactivechart
This commit is contained in:
@@ -2137,8 +2137,9 @@ def interactive_chart(id=0,promember=0,intervaldata = {}):
|
||||
|
||||
columns = ['time','pace','hr','fpace','ftime']
|
||||
datadf = dataprep.getsmallrowdata_db(columns,ids=[id])
|
||||
|
||||
|
||||
datadf.dropna(axis=0,how='any',inplace=True)
|
||||
|
||||
row = Workout.objects.get(id=id)
|
||||
if datadf.empty:
|
||||
return "","No Valid Data Available"
|
||||
|
||||
Reference in New Issue
Block a user