Skip to content

Commit

Permalink
Update test_molecule.py
Browse files Browse the repository at this point in the history
workaround for xyz file not found during test
  • Loading branch information
damarkian authored Dec 15, 2023
1 parent cc8c3e0 commit d110b04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_molecule.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def test_run_pyscf():

def test_run_pyscf_molecule_xyz():
"""Pyscf driver with xyz file"""

with open('lih.xyz', 'a') as file:
file.write('2\n 0 1\n Li 0.0 0.0 0.0\n H 0.0 0.0 1.2')
lih_ref_energy = -7.83561582555692
lih = Molecule(xyz_file="lih.xyz")
lih.run_pyscf()
Expand Down

0 comments on commit d110b04

Please sign in to comment.