Error produced when running estimate_transition_rates(). Only occurs when using AVES_iucn_history.txt, rather than MAMMALIA_iucn_history.txt.
"Error: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (10925,) + inhomogeneous part."
Error produced when running
estimate_transition_rates()
. Only occurs when using AVES_iucn_history.txt, rather than MAMMALIA_iucn_history.txt."Error: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (10925,) + inhomogeneous part."
Looks like it is a problem in newer versions of numpy, see here https://stackoverflow.com/questions/67183501/setting-an-array-element-with-a-sequence-requested-array-has-an-inhomogeneous-sh