Closed willu47 closed 5 years ago
This causes the following error:
AttributeError: 'DataArray' object has no attribute 'ndim'
Reported by @LahiruJayasuriya
The problem is caused by Adaptor.simulate passing a DataArray to Adaptor.convert where convert is expecting an ndarray.
Adaptor.simulate
DataArray
Adaptor.convert
ndarray
Need to fix the tests, which currently pass in numpy ndarray rather than smif DataArray objects.
Closed by #318
This causes the following error:
Reported by @LahiruJayasuriya
The problem is caused by
Adaptor.simulate
passing aDataArray
toAdaptor.convert
where convert is expecting anndarray
.Need to fix the tests, which currently pass in numpy ndarray rather than smif DataArray objects.