Closed raghavprasad13 closed 3 years ago
I've reproduced the issue. Looks like the plot example extends the Parser
class, which requires an animal
parameter. If the plot example class calls the Parser
constructor, that should fix the error. But after that locally, I found a few more errors.
Trying to prepare a PR with what I've found, but as I don't know much about the JSON log file or the example code, it would need some review from @simonarvin or someone else :+1:
Hi @raghavprasad13
This error was caused by a legacy/modern format mismatch. This has been fixed in edad0fe2352a0bc2777554062aa7685a301083fb
Thanks for reporting it!
Best, Simon
Hi @raghavprasad13
I suspect you're loading the wrong log file (legacy format). Can you try again, making sure to load the new, re-formatted log?
Best, Simon
Yes @simonarvin I apologize 🙈 That was my mistake Thank you very much for fixing this issue!
I'm encountering an error when I try to run
plot_loop.py
in the open_loop example. Initially, I got this error. I temporarily solved it by hardcodingself.animal = "mouse"
in the Loop_parser constructor. However, after that, I faced another error. I'm not sure how to fix this.P.S. I used the
open-loop-log.json
file.P.P.S Is there any documentation regarding the keys in the JSON log file and what they represent?