Skip to content

Commit

Permalink
Merge pull request #98 from chatcannon/col-27-ewe-ece
Browse files Browse the repository at this point in the history
add support for column 27: E_we-E_ce/V
  • Loading branch information
chatcannon authored Jan 20, 2024
2 parents daf85d5 + 9a61eb3 commit 5448af7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions galvani/BioLogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ def MPTfileCSV(file_or_path):
23: ("dQ/mA.h", "<f8"), # Same as 7?
24: ("cycle number", "<f8"),
26: ("Rapp/Ohm", "<f4"),
27: ("Ewe-Ece/V", "<f4"),
32: ("freq/Hz", "<f4"),
33: ("|Ewe|/V", "<f4"),
34: ("|I|/A", "<f4"),
Expand Down
1 change: 1 addition & 0 deletions tests/test_BioLogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def test_parse_BioLogic_date(data, expected):
("C019P-0ppb-A_C01.mpr", "2019-03-14", "2019-03-14"),
("Rapp_Error.mpr", "2010-12-02", "2010-12-02"),
("Ewe_Error.mpr", "2021-11-18", "2021-11-19"),
("col_27_issue_74.mpr", "2022-07-28", "2022-07-28"),
],
)
def test_MPR_dates(testdata_dir, filename, startdate, enddate):
Expand Down
3 changes: 3 additions & 0 deletions tests/testdata/col_27_issue_74.mpr
Git LFS file not shown

0 comments on commit 5448af7

Please sign in to comment.