Merge pull request #98 from chatcannon/col-27-ewe-ece

add support for column 27: E_we-E_ce/V
This commit is contained in:
2024-01-20 22:35:12 +02:00
committed by GitHub
3 changed files with 5 additions and 0 deletions

View File

@@ -256,6 +256,7 @@ VMPdata_colID_dtype_map = {
23: ("dQ/mA.h", "<f8"), # Same as 7? 23: ("dQ/mA.h", "<f8"), # Same as 7?
24: ("cycle number", "<f8"), 24: ("cycle number", "<f8"),
26: ("Rapp/Ohm", "<f4"), 26: ("Rapp/Ohm", "<f4"),
27: ("Ewe-Ece/V", "<f4"),
32: ("freq/Hz", "<f4"), 32: ("freq/Hz", "<f4"),
33: ("|Ewe|/V", "<f4"), 33: ("|Ewe|/V", "<f4"),
34: ("|I|/A", "<f4"), 34: ("|I|/A", "<f4"),

View File

@@ -137,6 +137,7 @@ def test_parse_BioLogic_date(data, expected):
("C019P-0ppb-A_C01.mpr", "2019-03-14", "2019-03-14"), ("C019P-0ppb-A_C01.mpr", "2019-03-14", "2019-03-14"),
("Rapp_Error.mpr", "2010-12-02", "2010-12-02"), ("Rapp_Error.mpr", "2010-12-02", "2010-12-02"),
("Ewe_Error.mpr", "2021-11-18", "2021-11-19"), ("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): def test_MPR_dates(testdata_dir, filename, startdate, enddate):

BIN
tests/testdata/col_27_issue_74.mpr LFS vendored Normal file

Binary file not shown.