fix
This commit is contained in:
@@ -2177,11 +2177,14 @@ def dataplep(rowdatadf, id=0, inboard=0.88, forceunit='lbs', bands=True, barchar
|
|||||||
except TypeError:
|
except TypeError:
|
||||||
f = 0
|
f = 0
|
||||||
windowsize = 1
|
windowsize = 1
|
||||||
if f != 0 and not np.isinf(f):
|
try:
|
||||||
try:
|
if f != 0 and not np.isinf(f):
|
||||||
windowsize = 2 * (int(10. / (f))) + 1
|
try:
|
||||||
except ValueError:
|
windowsize = 2 * (int(10. / (f))) + 1
|
||||||
windowsize = 1
|
except ValueError:
|
||||||
|
windowsize = 1
|
||||||
|
except TypeError:
|
||||||
|
pass
|
||||||
|
|
||||||
if windowsize <= 3:
|
if windowsize <= 3:
|
||||||
windowsize = 5
|
windowsize = 5
|
||||||
|
|||||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user