diff --git a/CHANGELOG.md b/CHANGELOG.md index f9248b5..20c2791 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - [#41](https://github.com/bcliang/gamry-parser/pull/40) Use tox as test runner ### Added -- +- [#42](https://github.com/bcliang/gamry-parser/pull/42) Update read_header function to support EFM140 data Files ## [0.4.4] - 2021-02-28 diff --git a/gamry_parser/gamryparser.py b/gamry_parser/gamryparser.py index 349c712..f7b8cf9 100644 --- a/gamry_parser/gamryparser.py +++ b/gamry_parser/gamryparser.py @@ -164,7 +164,7 @@ def read_header(self): pos = 0 with open(self.fname, "r", encoding="utf8", errors="ignore") as f: cur_line = f.readline().split("\t") - while not re.search(r"(^|Z|VFP)CURVE", cur_line[0]): + while not re.search(r"(^|Z|VFP|EFM)CURVE", cur_line[0]): if f.tell() == pos: break