Skip to content

Commit e0b389b

Browse files
robinzybCopilot
andauthored
Update docs/analysis/atom_density.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cbc4207 commit e0b389b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/analysis/atom_density.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ inp={
7878
}
7979

8080
xyz_file = inp.get("xyz_file")
81-
format = inp.get("format", "XYZ")
81+
fmt = inp.get("format", "XYZ")
8282
cell = inp.get("cell")
8383
cell = Cell.new(cell)
84-
u = Universe(xyz_file, format=format)
84+
u = Universe(xyz_file, format=fmt)
8585
u.atoms.dimensions = cell.cellpar()
8686
surf1 = inp.get("surf1")
8787
surf2 = inp.get("surf2")

0 commit comments

Comments
 (0)