Numpy update with dtype
With the newest numpy
update release the pipeline was failing on the caimira/tests/test_ventilation.py::test_multiple_vectorisation
test.
The error is the following:
setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
Problem: The test was joining objects (arrays or int/floats) of different dimensions in a single one. e.g. [[1,2,3], 10], triggering the error.
Solution: Added a dtype=object
when defining the air_exchange
array