Skip to content

Commit

Permalink
Additional Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinp0 committed Nov 21, 2023
1 parent fb00267 commit f3e75dd
Show file tree
Hide file tree
Showing 3 changed files with 4,519 additions and 23 deletions.
4 changes: 2 additions & 2 deletions arc/job/adapters/scripts/pyscf_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, input_file):
self.run()
def read_input_file(self):
with open(self.input_file, 'r') as f:
input_dict = yaml.load(f, Loader=yaml.FullLoader)
input_dict = yaml.safe_load(f, Loader=yaml.FullLoader)
return input_dict
def get_job_type(self):
job_type = self.input_dict['job_type']
Expand Down Expand Up @@ -66,7 +66,7 @@ def run(self):
mol.spin = self.spin # TODO: Is this correct [multiplicity -> spin]?
mol.build()

if self.estricted:
if self.restricted:
mf = dft.RKS(mol)
else:
mf = dft.UKS(mol)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
basis: def2-tzvp
charge: 0
is_ts: 'False'
job_type: opt
restricted: 'False'
spin: 0
xc_func: b3lyp
xyz: |-
C -0.93790674 0.28066443 0.10572942
C 0.35659906 -0.44954997 0.05020174
O 0.36626530 -1.59397979 -0.38012632
H -1.68923915 -0.33332195 0.61329151
H -0.85532021 1.23909997 0.62578027
H -1.30704889 0.46001151 -0.90948878
H 0.76281007 -0.50036590 1.06483009
H 1.04287051 0.12137561 -0.58236096
H 1.27820018 -1.93031032 -0.35203473
Loading

0 comments on commit f3e75dd

Please sign in to comment.