emmet
emmet copied to clipboard
Some materials have input.kpoints serialized using removed pymatgen.io.vaspio module
This is happening before the mp_website build stage. Perhaps these are based on converted tasks? In any case, these material documents fail to deserialize to pymatgen objects if the "input" field is requested in a query.
db['materials.core'].count_documents(
{'inputs.structure_optimization.kpoints.@module': {'$regex': '^pymatgen.io.vaspio'}})
# -> 116
@tschaume ?
Yep, every task with _mpworks_meta seems to have this issue.
I patched production and staging materials collections to be correct, and I added a regression test to the test suite run against the staging db before a release.
@tschaume please close this when upstream tasks collections are fixed.