Browse Source

Comparing xml to csv parsing results now also checks that the columns are identical

master
Holger Frey 2 years ago
parent
commit
1513a94a87
  1. 1
      tests/test_sensospot_data.py

1
tests/test_sensospot_data.py

@ -26,6 +26,7 @@ def test_compare_xml_to_csv(example_dir): @@ -26,6 +26,7 @@ def test_compare_xml_to_csv(example_dir):
assert isinstance(xml_df, pandas.DataFrame)
assert len(csv_df) == len(xml_df)
assert set(csv_df.columns) == set(xml_df.columns)
assert set(csv_df["Well.Name"]) == set(xml_df["Well.Name"])
assert set(csv_df["Exposure.Id"]) == set(xml_df["Exposure.Id"])
assert set(csv_df["Spot.Diameter"]) == set(xml_df["Spot.Diameter"])

Loading…
Cancel
Save