pymatgen.analysis.diffusion.utils.maggma module

Functions for querying Materials Project style MongoStores that contains cathode materials The functions are isolated from the rest of the package so that the rest of the package will not depend on Maggma.

get_entries_from_dbs(structure_group_store: MongoStore, material_store: MongoStore, migrating_ion: str, material_id: str)[source]

Get the entries needed to construct a migration from a database that contains topotactically matched structures.

Parameters:
  • structure_group_store – Electrode documents one per each similar group of insertion materials, can also use any db that contains a

  • material_store – Material documents one per each similar structure ( multiple tasks)

  • migrating_ion – The name of the migrating ion

  • material_id – Material id