Commit 18dcfb6 1 parent 8094e20 commit 18dcfb6 Copy full SHA for 18dcfb6
File tree 2 files changed +4
-12
lines changed
pymatgen/analysis/defects
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 18
18
from monty .dev import deprecated
19
19
from monty .json import MSONable
20
20
from numpy .linalg import norm
21
- from pymatgen .analysis .local_env import cn_opt_params
21
+ from pymatgen .analysis .local_env import CN_OPT_PARAMS
22
22
from pymatgen .analysis .structure_matcher import StructureMatcher
23
23
from pymatgen .core import Structure
24
24
from pymatgen .core .periodic_table import Element , get_el_sp
60
60
kumagai_to_V = 1.809512739e2 # = Electron charge * 1e10 / VacuumPermittivity Constant
61
61
62
62
motif_cn_op = {}
63
- for cn , di in cn_opt_params .items ():
63
+ for cn , di in CN_OPT_PARAMS .items ():
64
64
for motif , li in di .items ():
65
65
motif_cn_op [motif ] = {"cn" : int (cn ), "optype" : li [0 ]}
66
66
motif_cn_op [motif ]["params" ] = deepcopy (li [1 ]) if len (li ) > 1 else None
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ classifiers = [
16
16
" Topic :: Scientific/Engineering" ,
17
17
]
18
18
dependencies = [
19
- " pymatgen>=2024.5.1 " ,
19
+ " pymatgen>=2024.10.22 " ,
20
20
" scikit-image>=0.19.3" ,
21
21
" numpy<2" ,
22
22
" mp-pyrho>=0.4.4" ,
@@ -36,15 +36,7 @@ docs = [
36
36
" jupyter-book>=0.13.1" ,
37
37
]
38
38
optional = [" pydefect" , " dscribe>=2.0.0" , " numba" ]
39
-
40
- strict = [
41
- " pymatgen==2024.5.1" ,
42
- " dscribe==2.1.1" ,
43
- " mp-pyrho==0.4.4" ,
44
- " pydefect==0.9.4" ,
45
- ]
46
-
47
- tests = [" pytest==8.2.1" , " pytest-cov==5.0.0" , " nbmake==1.5.3" ]
39
+ tests = [" pytest>=8.2.1" , " pytest-cov>=5.0.0" , " nbmake>=1.5.3" ]
48
40
49
41
[tool .setuptools .dynamic ]
50
42
readme = { file = [" README.md" ] }
You can’t perform that action at this time.
0 commit comments