Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kavanase authored Oct 22, 2024
1 parent e29c32e commit c2099e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymatgen/analysis/defects/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from monty.dev import deprecated
from monty.json import MSONable
from numpy.linalg import norm
from pymatgen.analysis.local_env import cn_opt_params
from pymatgen.analysis.local_env import CN_OPT_PARAMS
from pymatgen.analysis.structure_matcher import StructureMatcher
from pymatgen.core import Structure
from pymatgen.core.periodic_table import Element, get_el_sp
Expand Down Expand Up @@ -60,7 +60,7 @@
kumagai_to_V = 1.809512739e2 # = Electron charge * 1e10 / VacuumPermittivity Constant

motif_cn_op = {}
for cn, di in cn_opt_params.items():
for cn, di in CN_OPT_PARAMS.items():
for motif, li in di.items():
motif_cn_op[motif] = {"cn": int(cn), "optype": li[0]}
motif_cn_op[motif]["params"] = deepcopy(li[1]) if len(li) > 1 else None
Expand Down

0 comments on commit c2099e5

Please sign in to comment.