With version 2.0, indices included in folder naming from ChargedDefectStructures is not consistent with the sublattice site anymore. A fix for this can make use of the PointDefectComparator in pymatgen to assign sublattice indices.
With version 2.0, indices included in folder naming from ChargedDefectStructures is not consistent with the sublattice site anymore.
A fix for this can make use of the PointDefectComparator in pymatgen to assign sublattice indices.