ratal / mdfreader

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

mdf.write3() omits all channel units #173

Closed arne7morgen closed 4 years ago

arne7morgen commented 4 years ago

Python version

3.7.3

Platform information

Windows-10-10.0.17763-SP0

Numpy version

1.16.3

mdfreader version

3.2

Description

When writing a Mdf3 file with mdf.write3("name.dat") and reloading the Mdf again with Mdf("name.dat") the channels of the Mdf have no units.

The bug is a wrong parenthesis and is swallowed by The Most Diabolical Python Antipattern (https://realpython.com/the-most-diabolical-python-antipattern/)

arne7morgen commented 4 years ago

Pullrequest is here: #174

ratal commented 4 years ago

merged. Thanks for the pull request !