From 06a2b616d518a38a1337bd4680dd2e0163b78a12 Mon Sep 17 00:00:00 2001 From: Fabian Bohle <49951809+fabothch@users.noreply.github.com> Date: Fri, 29 Oct 2021 11:07:03 +0200 Subject: [PATCH] fix missing newline in xtb-driver orcapath (#20) --- censo_qm/orca_job.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/censo_qm/orca_job.py b/censo_qm/orca_job.py index 979e6fc..eb58b30 100644 --- a/censo_qm/orca_job.py +++ b/censo_qm/orca_job.py @@ -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"]}, @@ -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 @@ -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)