File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -689,12 +689,16 @@ def get_unit_cell_parameters(structure: Atoms):
689689 structure_parameters ["bravais_lattice" ] = "bcc"
690690 if len (structure ) == 1 :
691691 structure_parameters ["a" ] = np .round (structure .cell [1 ][0 ] * 2 , 4 )
692- structure_parameters ["volume" ] = np .round ((structure .cell [1 ][0 ] * 2 ) ** 3 , 4 )
692+ structure_parameters ["volume" ] = np .round (
693+ (structure .cell [1 ][0 ] * 2 ) ** 3 , 4
694+ )
693695 elif symmetry .spacegroup ["InternationalTableSymbol" ] == "Fm-3m" :
694696 structure_parameters ["bravais_lattice" ] = "fcc"
695697 if len (structure ) == 1 :
696698 structure_parameters ["a" ] = np .round (structure .cell [1 ][0 ] * 2 , 4 )
697- structure_parameters ["volume" ] = np .round ((structure .cell [1 ][0 ] * 2 ) ** 3 , 4 )
699+ structure_parameters ["volume" ] = np .round (
700+ (structure .cell [1 ][0 ] * 2 ) ** 3 , 4
701+ )
698702 elif symmetry .spacegroup ["InternationalTableSymbol" ] == "P6_3/mmc" :
699703 structure_parameters ["c" ] = np .round (structure .cell [2 ][2 ], 4 )
700704 structure_parameters ["gamma" ] = 120.0
You can’t perform that action at this time.
0 commit comments