alerts, analysis, api tested
This commit is contained in:
@@ -1417,10 +1417,10 @@ def update_strokedata(id, df, debug=False):
|
||||
|
||||
|
||||
def testdata(time, distance, pace, spm): # pragma: no cover
|
||||
t1 = np.issubdtype(time, np.number)
|
||||
t2 = np.issubdtype(distance, np.number)
|
||||
t3 = np.issubdtype(pace, np.number)
|
||||
t4 = np.issubdtype(spm, np.number)
|
||||
t1 = time.dtype in pl.NUMERIC_DTYPES
|
||||
t2 = distance.dtype in pl.NUMERIC_DTYPES
|
||||
t3 = pace.dtype in pl.NUMERIC_DTYPES
|
||||
t4 = spm.dtype in pl.NUMERIC_DTYPES
|
||||
|
||||
return t1 and t2 and t3 and t4
|
||||
|
||||
@@ -1630,7 +1630,7 @@ def read_data(columns, ids=[], doclean=True, workstrokesonly=True, debug=False,
|
||||
|
||||
return datadf
|
||||
|
||||
def getsmallrowdata_db(columns, ids=[], doclean=True, workstrokesonly=True, compute=True,
|
||||
def getsmallrowdata_pd(columns, ids=[], doclean=True, workstrokesonly=True, compute=True,
|
||||
debug=False, for_chart=False):
|
||||
# prepmultipledata(ids)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user