Private
Public Access
1
0

Merge branch 'hotfix/v21.1.1'

This commit is contained in:
2024-05-21 13:19:07 +02:00
2 changed files with 8 additions and 5 deletions

View File

@@ -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

Binary file not shown.