Skip to content

Commit

Permalink
fixbugs, U in g16input0(index should be indexcount)
Browse files Browse the repository at this point in the history
  • Loading branch information
liangguangyii committed Jun 16, 2024
1 parent 7193273 commit 4537633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fileIO.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def g16input_0(chargeList, chargeSpinList, filename = "template.gjf"):
icount += 1

#* modify the iop line
if icount == iopIndex and UDFT[i]:
if icount == iopIndex and UDFT[indexcount]:
tempIop = line.strip().split("/") #*remove the newline character
tempIop1 = tempIop[0].split()
tempIop1[-1] = "U" + tempIop1[-1]
Expand Down

0 comments on commit 4537633

Please sign in to comment.