removing debug stuff
This commit is contained in:
@@ -5385,6 +5385,7 @@ def interactive_flex_chart2(id,r,promember=0,
|
||||
rowdata = dataprep.getsmallrowdata_db(columns,ids=[id],doclean=True,
|
||||
workstrokesonly=workstrokesonly)
|
||||
|
||||
|
||||
if r.usersmooth > 1: # pragma: no cover
|
||||
for column in columns:
|
||||
try:
|
||||
@@ -5438,6 +5439,8 @@ def interactive_flex_chart2(id,r,promember=0,
|
||||
# replace nans
|
||||
rowdata.fillna(value=0,inplace=True)
|
||||
|
||||
|
||||
|
||||
row = Workout.objects.get(id=id)
|
||||
if rowdata.empty:
|
||||
return "","No valid data",'','',workstrokesonly
|
||||
@@ -5508,6 +5511,7 @@ def interactive_flex_chart2(id,r,promember=0,
|
||||
y1mean = rowdata['y1'].mean()
|
||||
y2mean = rowdata['y2'].mean()
|
||||
|
||||
|
||||
if xparam != 'time':
|
||||
xvals = xaxmin+np.arange(100)*(xaxmax-xaxmin)/100.
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user