ratal / mdfreader

Read Measurement Data Format (MDF) versions 3.x and 4.x file formats in python
Other
169 stars 74 forks source link

Bug in mdfinfo3.read_cc_block for case cc_type == 12 (text range table) #111

Closed ginseil closed 6 years ago

ginseil commented 6 years ago

Hi,

current version fails to read text look-up value and always uses an empt string instead.

Line 568 in mdfinfo3: temp['conversion'][pair]['Textrange'] = read_tx_block(fid, temp[pair]['pointerToTXBlock'])

must be changed to: temp['conversion'][pair]['Textrange'] = read_tx_block(fid, temp['conversion'][pair]['pointerToTXBlock'])

ratal commented 6 years ago

That is I think causing same issue as in #112

ginseil commented 6 years ago

This is fixed for me. Thanks!