Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
minghangli-uni committed Sep 16, 2024
1 parent aa7cdd5 commit 7d43f2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expts_manager/Expts_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,8 +891,8 @@ def _generate_restart_symlink(self, expt_path):
if self.startfrom_str != "rest":
# if exisiting restarts and not force generating restart, then skip.
existing_restarts = glob.glob(
os.path.join(self.base_path, "archive", "restart*")
)
os.path.join(self.base_path, "archive", "restart*")
)
if existing_restarts and not self.force_restart:
return

Expand Down

0 comments on commit 7d43f2a

Please sign in to comment.