You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6,) + inhomogeneous part.
The text was updated successfully, but these errors were encountered:
EwoutH
changed the title
docs/introduction.ipynb crashes on energy_df = netlogo.repeat_report([
docs/introduction.ipynb crashes on cell 13 (energy_df = netlogo.repeat_report())
Jan 26, 2023
@quaquel I investigated this issue a bit further. I believe it's an error of this type.
Which is quite logical, since the number of wolves and sheep varies over time, so the length of the lists [energy] of wolves, [energy] of sheep and [sheep_str] of sheep also varries.
The introduction notebook crashed on cell 13:
See for a full error log cell 13 of https://github.com/EwoutH/pyNetLogo/blob/introduction-set-globals/docs/source/_docs/introduction.ipynb.
I validated the same error occurs with the unmodified notebook.
How to reproduce: Run
introduction.ipynb
.The text was updated successfully, but these errors were encountered: