File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 20
20
# Versions should comply with PEP440. For a discussion on single-sourcing
21
21
# the version across setup.py and the project code, see
22
22
# https://packaging.python.org/en/latest/single_source_version.html
23
- version = '1.0.1 ' ,
23
+ version = '1.0.2 ' ,
24
24
25
25
description = 'The WFDB Python Toolbox' ,
26
26
long_description = long_description ,
Original file line number Diff line number Diff line change @@ -481,7 +481,9 @@ def read_sig_lines(siglines):
481
481
d_sig [field ][i ] = int (d_sig [field ][i ])
482
482
elif sigfieldspecs [field ].allowedtypes is floattypes :
483
483
d_sig [field ][i ] = float (d_sig [field ][i ])
484
-
484
+ # Special case: gain of 0 means 200
485
+ if field == 'adcgain' and d_sig ['adcgain' ][i ] == 0 :
486
+ d_sig ['adcgain' ][i ] = 200
485
487
486
488
return d_sig
487
489
You can’t perform that action at this time.
0 commit comments