Commit 4b8ee711 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Fixed issue with species and species counts not being indexed into ES for 2D and 1D materials.

parent 2234eec6
Pipeline #78939 passed with stages
in 47 minutes and 58 seconds
......@@ -522,6 +522,8 @@ class Material2DNormalizer(MaterialNormalizer):
self.lattice_vectors_primitive(ideal, prim_atoms)
self.formula(material, names, counts)
self.formula_reduced(material, names, reduced_counts)
self.species(material, names)
self.species_and_counts(material, names, reduced_counts)
self.lattice_parameters(ideal, std_atoms, ideal.periodicity)
......@@ -735,5 +737,7 @@ class Material1DNormalizer(MaterialNormalizer):
self.lattice_vectors(ideal, std_atoms)
self.formula(material, names, counts)
self.formula_reduced(material, names, reduced_counts)
self.species(material, names)
self.species_and_counts(material, names, reduced_counts)
self.material_id_1d(material, std_atoms)
self.lattice_parameters(ideal, std_atoms, ideal.periodicity)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment