Total Complexity | 0 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 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 |