Skip to content

Commit

Permalink
fix missing newline in xtb-driver orcapath (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabothch authored Oct 29, 2021
1 parent 9e4fc24 commit 06a2b61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions censo_qm/orca_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def _prep_input(self, xyzfile=False, returndict=False):
"high+": {"grid": ["! grid5 nofinalgrid"], "scfconv": ["! scfconv7"]},
}
extension5 = {
"low": {"grid": ["! DEFGRID1"], "scfconv": ["! loosescf"]},
"low": {"grid": ["! DEFGRID2"], "scfconv": ["! loosescf"]},
"low+": {"grid": ["! DEFGRID2"], "scfconv": ["! scfconv6"]},
"high": {"grid": ["! DEFGRID2"], "scfconv": ["! scfconv7"]},
"high+": {"grid": ["! DEFGRID2"], "scfconv": ["! scfconv7"]},
Expand Down Expand Up @@ -616,7 +616,7 @@ def _xtbopt(self):
newcoord.write(
f" orca bin= {os.path.join(external_paths['orcapath'], 'orca')} \n"
)
newcoord.write("$end")
newcoord.write("$end\n")

with open(
os.path.join(self.job["workdir"], "inp"), "w", newline=None
Expand Down Expand Up @@ -651,7 +651,7 @@ def _xtbopt(self):
out.write("$external\n")
out.write(" orca input file= inp\n")
out.write(
f" orca bin= {os.path.join(external_paths['orcapath'], 'orca')}"
f" orca bin= {os.path.join(external_paths['orcapath'], 'orca')} \n"
)
out.write("$end \n")
time.sleep(0.02)
Expand Down

0 comments on commit 06a2b61

Please sign in to comment.