querying for mp-868324 using pymatgen API reproducibly produces error today. Works fine for other mpIDs, and I believe it worked for this specific mpID as well about a week ago. The material also looks fine on the website, but not via pymatgen query:
IndexError Traceback (most recent call last)
in ()
----> 1 trystr=MPRester().get_structure_by_material_id( “mp-868324”)
…/anaconda/lib/python2.7/site-packages/pymatgen/matproj/rest.pyc in get_structure_by_material_id(self, material_id, final)
379 prop = “final_structure” if final else “initial_structure”
380 data = self.get_data(material_id, prop=prop)
–> 381 return data[0][prop]
382
383 def get_entry_by_material_id(self, material_id, compatible_only=True,
IndexError: list index out of range
UPDATE: a few other materials producing the same problem:
mp-868324, mvc-6622 , mvc-6101 , mvc-5897 , mvc-1832 , mvc-4908 , mvc-5559 , mp-867731
All of them used to be queried fine just a couple of weeks ago, and in fact were returned as ground states for specific chemical systems. Would be nice if there is a way to rely on the data returned by API for more than just a week…