Skip to content

Commit 18b40b6

Browse files
committed
Merge branch 'master' of github.com:bcliang/gamry-parser into new-demo-notebooks
2 parents 9c80d98 + 33c7e2b commit 18b40b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1212
- [#41](https://github.com/bcliang/gamry-parser/pull/40) Use tox as test runner
1313

1414
### Added
15-
-
15+
- [#42](https://github.com/bcliang/gamry-parser/pull/42) Update read_header function to support EFM140 data Files
1616

1717
## [0.4.4] - 2021-02-28
1818

gamry_parser/gamryparser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def read_header(self):
164164
pos = 0
165165
with open(self.fname, "r", encoding="utf8", errors="ignore") as f:
166166
cur_line = f.readline().split("\t")
167-
while not re.search(r"(^|Z|VFP)CURVE", cur_line[0]):
167+
while not re.search(r"(^|Z|VFP|EFM)CURVE", cur_line[0]):
168168
if f.tell() == pos:
169169
break
170170

0 commit comments

Comments
 (0)