RatInABox-Lab / RatInABox

A python package for modelling locomotion in complex environments and spatially/velocity selective cell activity.
MIT License
175 stars 31 forks source link

Possible fix for issue #52 #53

Closed SynapticSage closed 1 year ago

SynapticSage commented 1 year ago

Single pytest error happened locally on my machine, too. Seems to pass after this change on my machine and CI on my fork. Hope this fixes 🤞

TomGeorge1234 commented 1 year ago

No luck it seems. Same errors and stack trace occurred? I'll take a better look in the morning?

=========================== short test summary info ============================
[328](https://github.com/TomGeorge1234/RatInABox/actions/runs/5193960474/jobs/9365120710#step:6:329)
FAILED test_taskenv.py::test_parallel_api[1-Env0-Ag0-2-random_2-interact] - AssertionError: ['agent_0'] != set()
[329](https://github.com/TomGeorge1234/RatInABox/actions/runs/5193960474/jobs/9365120710#step:6:330)
assert {'agent_0'} == set()
[330](https://github.com/TomGeorge1234/RatInABox/actions/runs/5193960474/jobs/9365120710#step:6:331)
  Extra items in the left set:
[331](https://github.com/TomGeorge1234/RatInABox/actions/runs/5193960474/jobs/9365120710#step:6:332)
  'agent_0'
[332](https://github.com/TomGeorge1234/RatInABox/actions/runs/5193960474/jobs/9365120710#step:6:333)
  Full diff:
[333](https://github.com/TomGeorge1234/RatInABox/actions/runs/5193960474/jobs/9365120710#step:6:334)
  - set()
[334](https://github.com/TomGeorge1234/RatInABox/actions/runs/5193960474/jobs/9365120710#step:6:335)
  + {'agent_0'}
[335](https://github.com/TomGeorge1234/RatInABox/actions/runs/5193960474/jobs/9365120710#step:6:336)
=========== 1 failed, 188 passed, 483 warnings in 104.87s (0:01:44) ============