Private
Public Access
1
0

fixed time weighted mean bug

Please enter the commit message for your changes. Lines starting
This commit is contained in:
Sander Roosendaal
2018-03-06 20:34:48 +01:00
parent d80e7d8f04
commit 6b5a76242d
2 changed files with 2 additions and 2 deletions

View File

@@ -1634,6 +1634,7 @@ def testdata(time, distance, pace, spm):
def getrowdata_db(id=0, doclean=False, convertnewtons=True):
data = read_df_sql(id)
data['x_right'] = data['x_right'] / 1.0e6
data['deltat'] = data['time'].diff()
if data.empty:
rowdata, row = getrowdata(id=id)