Skip to content

Commit

Permalink
Mc fix (#40)
Browse files Browse the repository at this point in the history
* Mc fix

* Apply Black code formatting

Co-authored-by: Slin Lee <slin@pathmind.com>
  • Loading branch information
SaharEs and slinlee authored Nov 4, 2021
1 parent f7d123c commit 31e6d49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pathmind/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ def run(
for episode in range(num_episodes):

step = 0
done = False
self.reset()
while not done:
row = [episode, step]
if sleep:
Expand Down Expand Up @@ -169,6 +171,7 @@ def run(

write_table(table=table, out_csv=out_csv)
write_table(table=summary, out_csv=summary_csv)
print(f"--------Finished episode {episode}--------")

def train(self, base_folder: str = "./", observation_yaml: str = None):
"""
Expand Down

0 comments on commit 31e6d49

Please sign in to comment.