Merge pull request #68 from chatcannon/add-ewe-column

Add Column 174 'Ewe/V'
This commit is contained in:
2022-01-18 18:49:29 +02:00
committed by GitHub
4 changed files with 7 additions and 0 deletions
+1
View File
@@ -185,6 +185,7 @@ VMPdata_colID_dtype_map = {
169: ('Cs/µF', '<f4'), 169: ('Cs/µF', '<f4'),
172: ('Cp/µF', '<f4'), 172: ('Cp/µF', '<f4'),
173: ('Cp-2/µF-2', '<f4'), 173: ('Cp-2/µF-2', '<f4'),
174: ('Ewe/V', '<f4'),
241: ('|E1|/V', '<f4'), 241: ('|E1|/V', '<f4'),
242: ('|E2|/V', '<f4'), 242: ('|E2|/V', '<f4'),
271: ('Phase(Z1) / deg', '<f4'), 271: ('Phase(Z1) / deg', '<f4'),
+1
View File
@@ -106,6 +106,7 @@ def test_parse_BioLogic_date(data, expected):
# C019P-0ppb-A_C01.mpr stores the date in a different format # C019P-0ppb-A_C01.mpr stores the date in a different format
('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'),
]) ])
def test_MPR_dates(testdata_dir, filename, startdate, enddate): def test_MPR_dates(testdata_dir, filename, startdate, enddate):
"""Check that the start and end dates in .mpr files are read correctly.""" """Check that the start and end dates in .mpr files are read correctly."""
BIN
View File
Binary file not shown.
+2
View File
@@ -0,0 +1,2 @@
SPDX-FileCopyrightText Danzi Federico
SPDX-License-Identifier CC-BY-4.0