Skip to content

Commit 0d60a4d

Browse files
committed
bugfix
1 parent 87175c4 commit 0d60a4d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pyiron_rdm/concept_dict.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,9 +693,8 @@ def get_unit_cell_parameters(structure: Atoms):
693693
elif symmetry.spacegroup["InternationalTableSymbol"] == "Fm-3m":
694694
structure_parameters["bravais_lattice"] = "fcc"
695695
if len(structure) == 1:
696-
structure_parameters = {
697-
structure_parameters["a"] = np.round(structure.cell[1][0] * 2, 4)
698-
structure_parameters["volume"] = np.round((structure.cell[1][0] * 2) ** 3, 4)
696+
structure_parameters["a"] = np.round(structure.cell[1][0] * 2, 4)
697+
structure_parameters["volume"] = np.round((structure.cell[1][0] * 2) ** 3, 4)
699698
elif symmetry.spacegroup["InternationalTableSymbol"] == "P6_3/mmc":
700699
structure_parameters["c"] = np.round(structure.cell[2][2], 4)
701700
structure_parameters["gamma"] = 120.0

0 commit comments

Comments
 (0)