emmet icon indicating copy to clipboard operation
emmet copied to clipboard

Some materials have input.kpoints serialized using removed pymatgen.io.vaspio module

Open dwinston opened this issue 7 years ago • 2 comments

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 ?

dwinston avatar Nov 09 '18 20:11 dwinston

Yep, every task with _mpworks_meta seems to have this issue.

montoyjh avatar Nov 10 '18 00:11 montoyjh

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.

dwinston avatar Nov 10 '18 00:11 dwinston