We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d87355d commit 196d4d9Copy full SHA for 196d4d9
setup.py
@@ -20,7 +20,7 @@
20
# Versions should comply with PEP440. For a discussion on single-sourcing
21
# the version across setup.py and the project code, see
22
# https://packaging.python.org/en/latest/single_source_version.html
23
- version='1.0.1',
+ version='1.0.2',
24
25
description='The WFDB Python Toolbox',
26
long_description=long_description,
wfdb/_headers.py
@@ -481,7 +481,9 @@ def read_sig_lines(siglines):
481
d_sig[field][i] = int(d_sig[field][i])
482
elif sigfieldspecs[field].allowedtypes is floattypes:
483
d_sig[field][i] = float(d_sig[field][i])
484
-
+ # Special case: gain of 0 means 200
485
+ if field == 'adcgain' and d_sig['adcgain'][i] == 0:
486
+ d_sig['adcgain'][i] = 200
487
488
return d_sig
489
0 commit comments