-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Bug description
the 'type' column was removed.
Version
Any
To reproduce
see ci log
======================================================================
ERROR: test_get_nuts3_county_id_map (test_epidata_geoModificationGermany.Test_geoModificationGermany.test_get_nuts3_county_id_map)
Traceback (most recent call last):
File "/home/runner/work/memilio/memilio/pycode/memilio-epidata/memilio/epidata_test/test_epidata_geoModificationGermany.py", line 423, in test_get_nuts3_county_id_map
nuts_key_dict = geoger.get_nuts3_county_id_map()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/memilio/epidata/geoModificationGermany.py", line 374, in get_nuts3_county_id_map
key_nuts3 = county_table.dropna(subset=[dd.EngEng['nuts3']])[
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/pandas/core/frame.py", line 6692, in dropna
raise KeyError(np.array(subset)[check].tolist())
KeyError: ['NUTS3']
======================================================================
FAIL: test_get_official_county_table (test_epidata_geoModificationGermany.Test_geoModificationGermany.test_get_official_county_table)
Traceback (most recent call last):
File "/home/runner/work/memilio/memilio/pycode/memilio-epidata/memilio/epidata_test/test_epidata_geoModificationGermany.py", line 418, in test_get_official_county_table
self.assertFalse("headers have changed.")
AssertionError: 'headers have changed.' is not false
Ran 121 tests in 201.107s
FAILED (failures=1, errors=1, skipped=1)
Relevant log output
Add any relevant information, e.g. used compiler, screenshots.
Checklist
- Attached labels, especially loc:: or model:: labels.
- Linked to project
Metadata
Metadata
Assignees
Labels
Type
Projects
Status