Skip to content

Commit

Permalink
Merge branch 'main' of github.com:llnl/abmarl into abmarl-456-sim-unw…
Browse files Browse the repository at this point in the history
…rapped-in-stage
  • Loading branch information
rusu24edward committed Feb 7, 2024
2 parents 695e18e + f3f4915 commit 01ce046
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements/requirements_all.txt
- name: Install Abmarl
run: pip install . --no-deps
- name: Test with pytest
run: pytest
4 changes: 2 additions & 2 deletions abmarl/stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@ def animate(i):
)
if record:
anim.save(
os.path.join(params['ray_tune']['local_dir'], 'Episode_{}.gif'.format(episode))
os.path.join(full_trained_directory, 'Episode_{}.gif'.format(episode))
)
plt.show(block=False)
elif record_only:
anim.save(
os.path.join(params['ray_tune']['local_dir'], 'Episode_{}.gif'.format(episode))
os.path.join(full_trained_directory, 'Episode_{}.gif'.format(episode))
)

while not all_done:
Expand Down

0 comments on commit 01ce046

Please sign in to comment.