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:
|
||||
f = 0
|
||||
windowsize = 1
|
||||
if f != 0 and not np.isinf(f):
|
||||
try:
|
||||
windowsize = 2 * (int(10. / (f))) + 1
|
||||
except ValueError:
|
||||
windowsize = 1
|
||||
try:
|
||||
if f != 0 and not np.isinf(f):
|
||||
try:
|
||||
windowsize = 2 * (int(10. / (f))) + 1
|
||||
except ValueError:
|
||||
windowsize = 1
|
||||
except TypeError:
|
||||
pass
|
||||
|
||||
if windowsize <= 3:
|
||||
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