File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments