Skip to content

Commit

Permalink
path issues for H2O.xyz
Browse files Browse the repository at this point in the history
  • Loading branch information
rdguha1995 committed Jan 9, 2024
1 parent c595439 commit 1e28be1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/qchem/jobs/test_core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import sys
from pathlib import Path

import numpy as np
Expand All @@ -18,13 +17,14 @@

from atomate2.qchem.jobs.core import FreqMaker, OptMaker, SinglePointMaker

curr_dir = Path(os.path.dirname(sys.argv[0]))
# curr_dir = Path(os.path.dirname(sys.argv[0]))

# Specify the file name
file_name = "H2O.xyz"

# Construct the full path
mol_path = curr_dir / file_name
# mol_path = curr_dir / file_name
mol_path = Path(os.path.abspath(file_name))
H2O_structure = Molecule.from_file(mol_path)


Expand Down

0 comments on commit 1e28be1

Please sign in to comment.