Skip to content

Commit

Permalink
run.log
Browse files Browse the repository at this point in the history
  • Loading branch information
gautam-404 committed Feb 11, 2023
1 parent 513718d commit 7e4bfe9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MESAcontroller/MesaProjManager/project_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def run(self, silent=True):
Exception: If the run fails.
"""
ops_helper.check_exists(self.exists, self.projName)
runlog = os.path.join(self.work_dir, "runlog")
runlog = os.path.join(self.work_dir, "run.log")
if not os.path.exists(os.path.join(self.work_dir, "star")) and \
not os.path.exists(os.path.join(self.work_dir, "binary")):
raise Exception("Aborting! Run 'make()' first.")
Expand Down Expand Up @@ -188,7 +188,7 @@ def resume(self, photo=None, silent=True, target=None):
ValueError: If the input for argument 'silent' is invalid.
"""
ops_helper.check_exists(self.exists, self.projName)
runlog = os.path.join(self.work_dir, "runlog")
runlog = os.path.join(self.work_dir, "run.log")
if photo == None:
print(f"[b i cyan3]Resuming run from the most recent photo.")
with status.Status("[b i cyan3]Running...", spinner="moon") as status_:
Expand Down Expand Up @@ -255,7 +255,7 @@ def runGyre(self, gyre_in, files='', silent=True, target=None):
else:
LOGS_dir = os.path.join(self.work_dir, "LOGS")

runlog = os.path.join(self.work_dir, "runlog")
runlog = os.path.join(self.work_dir, "run.log")
if os.environ['GYRE_DIR'] is not None:
if not silent in [True, False]:
raise ValueError("Invalid input for argument 'silent'")
Expand Down

0 comments on commit 7e4bfe9

Please sign in to comment.