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
Traceback (most recent call last):
File "/Users/robynstuart/anaconda3/envs/starsim/lib/python3.9/site-packages/IPython/core/formatters.py", line 223, in catch_format_error
r = method(self, *args, **kwargs)
File "/Users/robynstuart/anaconda3/envs/starsim/lib/python3.9/site-packages/IPython/core/formatters.py", line 708, in __call__
printer.pretty(obj)
File "/Users/robynstuart/anaconda3/envs/starsim/lib/python3.9/site-packages/IPython/lib/pretty.py", line 410, in pretty
return _repr_pprint(obj, self, cycle)
File "/Users/robynstuart/anaconda3/envs/starsim/lib/python3.9/site-packages/IPython/lib/pretty.py", line 778, in _repr_pprint
output = repr(obj)
File "/Users/robynstuart/Documents/git/starsim/starsim/arrays.py", line 197, in __repr__
arr_str = np.array2string(self.values, max_line_width=200)
File "/Users/robynstuart/Documents/git/starsim/starsim/arrays.py", line 264, in values
return self.raw[self.auids]
IndexError: index 0 is out of bounds for axis 0 with size 0
Is there a way to create people with initialized properties ?
If not, could this have a more useful error message?
The text was updated successfully, but these errors were encountered:
gives the following:
The text was updated successfully, but these errors were encountered: