|
14 | 14 | from __future__ import annotations |
15 | 15 |
|
16 | 16 | import abc |
17 | | -import collections |
18 | | -import collections.abc |
19 | | -import csv |
20 | | -import itertools |
21 | 17 | import json |
22 | | -import logging |
23 | 18 | import math |
24 | | -import multiprocessing as mp |
25 | 19 | import os |
26 | | -import re |
27 | 20 | import warnings |
28 | 21 | from abc import ABC, abstractmethod |
29 | | -from collections import defaultdict |
30 | | -from datetime import UTC, datetime |
31 | | -from itertools import combinations |
32 | 22 | from typing import TYPE_CHECKING, cast |
33 | 23 |
|
34 | 24 | import numpy as np |
35 | 25 | import orjson |
36 | 26 | from monty.json import MontyDecoder, MontyEncoder, MSONable |
37 | | -from scipy.interpolate import interp1d |
38 | 27 | from uncertainties import ufloat |
39 | 28 |
|
40 | | -from pymatgen.util.due import Doi, due |
41 | | - |
42 | 29 | from .composition import Composition |
43 | 30 | from .periodic_table import Element |
44 | | -from .structure_matcher import SpeciesComparator, StructureMatcher |
45 | 31 |
|
46 | 32 | if TYPE_CHECKING: |
47 | | - |
48 | | - from collections.abc import Iterable |
49 | 33 | from typing import Literal, Self |
50 | 34 |
|
51 | | - from pymatgen.analysis.phase_diagram import PhaseDiagram |
52 | 35 | from pymatgen.core import DummySpecies, Element, Species, Structure |
53 | | - from pymatgen.util.typing import SpeciesLike |
54 | 36 |
|
55 | 37 | __author__ = "Ryan Kingsbury, Matt McDermott, Shyue Ping Ong, Anubhav Jain" |
56 | 38 | __copyright__ = "Copyright 2011-2020, The Materials Project" |
|
63 | 45 | G_GASES = orjson.loads(file.read()) |
64 | 46 |
|
65 | 47 |
|
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | 48 | __author__ = "Shyue Ping Ong, Anubhav Jain, Ayush Gupta" |
71 | 49 | __copyright__ = "Copyright 2020, The Materials Project" |
72 | 50 | __version__ = "1.1" |
@@ -851,4 +829,3 @@ def copy(self) -> ComputedStructureEntry: |
851 | 829 | data=self.data, |
852 | 830 | entry_id=self.entry_id, |
853 | 831 | ) |
854 | | - |
0 commit comments