Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
from pymatgen.core.periodic_table import Element
from pymatgen.electronic_structure.core import OrbitalType, Spin

from emmet.core.electronic_structure import BSPathType, DOSProjectionType
from emmet.core.band_theory import BSPathType
from emmet.core.electronic_structure import DOSProjectionType
from emmet.core.mpid import MPID, AlphaID


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
DOSDataQuery,
ObjectQuery,
)
from emmet.core.electronic_structure import (
BSPathType,
DOSProjectionType,
)

from emmet.core.band_theory import BSPathType
from emmet.core.electronic_structure import DOSProjectionType

from pymatgen.analysis.magnetism.analyzer import Ordering
from pymatgen.core.periodic_table import Element
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from pymatgen.symmetry.analyzer import SpacegroupAnalyzer

from emmet.builders.utils import query_open_data
from emmet.core.band_theory import get_path_from_bandstructure, obtain_path_type
from emmet.core.band_theory import obtain_path_type
from emmet.core.electronic_structure import ElectronicStructureDoc
from emmet.core.utils import jsanitize

Expand Down Expand Up @@ -466,11 +466,11 @@ def _update_materials_doc(self, mat_id):
}

try:
bs_type = next(
bs_type, _, _ = next(
obtain_path_type(
labels_dict,
bs.structure,
get_path_from_bandstructure(bs),
[kpt.frac_coords for kpt in bs.kpoints],
user_kpoint_labels=labels_dict,
)
)
except Exception:
Expand Down
Loading
Loading