ratal / mdfreader

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

cc_val can be scalar #95

Closed meisterlumpi closed 6 years ago

meisterlumpi commented 6 years ago

mdf4reader.py --> valueToTextConv() first line: val_count = int(len(cc_val)) will fail if cc_val is a scalar (float) suggestion: if isinstance(cc_val, (list, tuple)): val_count = int(len(cc_val)) else: val_count = int(1)

ratal commented 6 years ago

Hi, Please try latest commit, valueToTextConv() has been compeltely reworked for issue #59

ratal commented 6 years ago

I guess it worked ? No feedback since a while, I close, feel free to repoen