amd.globals_   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 11
dl 0
loc 14
rs 10
c 0
b 0
f 0
1
import json
2
from pathlib import Path
3
4
SUBS_DISORDER_TOL = 0.3
5
MAX_DISORDER_CONFIGS = 100
6
7
with open(str(Path(__file__).absolute().parent / "atomic_numbers.json")) as f:
8
    ATOMIC_NUMBERS = json.load(f)
9
10
with open(str(Path(__file__).absolute().parent / "atomic_masses.json")) as f:
11
    ATOMIC_MASSES = json.load(f)
12
13
ATOMIC_NUMBERS_TO_SYMS = {num: lab for lab, num in ATOMIC_NUMBERS.items()}
14