Skip to content

Commit

Permalink
Update symmetry databases with spglib
Browse files Browse the repository at this point in the history
  • Loading branch information
Liozou committed Apr 23, 2024
1 parent 7f5f3ca commit 21e4f69
Show file tree
Hide file tree
Showing 3 changed files with 280 additions and 148 deletions.
2 changes: 1 addition & 1 deletion src/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function export_cgd(file, pge::PeriodicGraphEmbedding{N}, name=basename(splitext
lengths = Float64.(_lengths)
angles = Float64.(_angles)
print(f, " GROUP\t\"")
print(f, RAW_SYMMETRY_DATA[pge.cell.hall][4])
print(f, replace(get_spacegroup_type(pge.cell.hall).international, ' '=>"", '_'=>""))
println(f, "\"")
print(f, " CELL\t")
join(f, lengths[1:min(3,N)], ' ')
Expand Down
Loading

0 comments on commit 21e4f69

Please sign in to comment.