Built in adaptors call ndim on DataArray
Closed this issue · 1 comments
willu47 commented
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
.
Need to fix the tests, which currently pass in numpy ndarray rather than smif DataArray objects.
tomalrussell commented
Closed by #318