Skip to content

Commit

Permalink
Add absolute path for gyre_in in ProjectOps class
Browse files Browse the repository at this point in the history
  • Loading branch information
gautam-404 committed Nov 15, 2023
1 parent 62b8e50 commit 25ff375
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mesaport/ProjectOps/project_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ def runGyre(self, gyre_in, files='all', wdir=None, data_format="GYRE", silent=Tr
"""
if wdir is not None:
wdir = os.path.abspath(wdir)
gyre_in = os.path.abspath(gyre_in)

if 'GYRE_DIR' in os.environ:
gyre_ex = os.path.join(os.environ['GYRE_DIR'], "bin", "gyre")
Expand Down

0 comments on commit 25ff375

Please sign in to comment.