kinverarity1 / lasio

Python library for reading and writing well data using Log ASCII Standard (LAS) files
https://lasio.readthedocs.io/en/latest/
MIT License
343 stars 151 forks source link

Issue 554: Enable DLM. TAB #556

Closed dcslagel closed 1 year ago

dcslagel commented 1 year ago

Description:

This pull-request is to fix #554 Reading las file with TAB DLM in ~version section result in KeyError: 'TAB'

Changes

Test results:

---------- coverage: platform darwin, python 3.10.9-final-0 ----------
Name                       Stmts   Miss  Cover
----------------------------------------------
lasio/__init__.py             28      6    79%
lasio/convert_version.py      20     20     0%
lasio/defaults.py             12      0   100%
lasio/examples.py             42     10    76%
lasio/excel.py                88     34    61%
lasio/exceptions.py            6      0   100%
lasio/las.py                 495     64    87%
lasio/las_items.py           220     30    86%
lasio/las_version.py          54     14    74%
lasio/reader.py              470     19    96%
lasio/writer.py              200      9    96%
----------------------------------------------
TOTAL                       1635    206    87%
Coverage XML written to file coverage.xml

--

Let me know if this change could be accepted (or rejected) or needs some additional changes to be approved and merged.

Thank you, DC