bennomeier / leCroyParser

A Python Module to parse LeCroy Binary Trace Files
MIT License
12 stars 8 forks source link

Data file does not get closed #3

Closed schmidf closed 4 years ago

schmidf commented 4 years ago

I have noticed that the data file does not get closed after parsing has finished unless sparse is greater than zero. This is probably due to the following line being indented one level too much:

https://github.com/bennomeier/leCroyParser/blob/1b94cdd7c93ac84abc2fe7380b23a8e2aa75eb75/lecroyparser/__init__.py#L134

bennomeier commented 4 years ago

Thanks for reporting - this is now fixed.