Skip to content

Commit 92bb2e3

Browse files
committed
fix
1 parent c4709bd commit 92bb2e3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ash/interfaces/interface_ReSpect.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def create_respect_inputfile(filename,elems, coords, charge,mult, scf_inputkeywo
161161
# Geometry block
162162
f.write(f"{indent}geometry:\n")
163163
for el,c in zip(elems,coords):
164-
f.write(f"{indent}{indent}{el} {c[0]} {c[2]} {c[2]} \n")
164+
f.write(f"{indent}{indent}{el}{c[0]:<13.10f}{c[2]:<13.10f}{c[2]:<13.10f}\n")
165165
f.write(f"{indent}charge: {charge}\n")
166166
f.write(f"{indent}multiplicity: {mult}\n")
167167
for s_k,s_val in scf_inputkeywords.items():
@@ -174,3 +174,8 @@ def create_respect_inputfile(filename,elems, coords, charge,mult, scf_inputkeywo
174174
f.write(f"{indent}{subj_k}: {subj_val}\n")
175175

176176
f.close()
177+
178+
179+
H -1.4523499293 0.0000000000 0.8996235720
180+
H 1.4523499293 0.0000000000 0.8996235720
181+
O 0.0000000000 0.0000000000 -0.2249058930

0 commit comments

Comments
 (0)