Open chriskervick opened 3 years ago
Running on python3.8, numpy v1.16, I get repeated KeyErrors when running pytest:
FAILED isochrones/tests/test_basic.py::test_mist_basic - KeyError: -0.5 FAILED isochrones/tests/test_basic.py::test_closest_eep - KeyError: -0.5 FAILED isochrones/tests/test_basic.py::test_spec - KeyError: -0.5
or when running the code:
KeyError Traceback (most recent call last) ~/anaconda3/lib/python3.8/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 2645 try: -> 2646 return self._engine.get_loc(key) 2647 except KeyError:
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
pandas is version 1.0.5. I can't use earlier versions of numpy as astropy requires numpy>=1.16
Any help would be much appreciated.
Running on python3.8, numpy v1.16, I get repeated KeyErrors when running pytest:
FAILED isochrones/tests/test_basic.py::test_mist_basic - KeyError: -0.5 FAILED isochrones/tests/test_basic.py::test_closest_eep - KeyError: -0.5 FAILED isochrones/tests/test_basic.py::test_spec - KeyError: -0.5
or when running the code:
KeyError Traceback (most recent call last) ~/anaconda3/lib/python3.8/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 2645 try: -> 2646 return self._engine.get_loc(key) 2647 except KeyError:
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
KeyError: -0.5
pandas is version 1.0.5. I can't use earlier versions of numpy as astropy requires numpy>=1.16
Any help would be much appreciated.