nipy/nipy — pull request #163 by jbpoline (2012-05-17 01:31:58+00:00)
Title: RF: Changing np.array(image) to image.get_data()

In the case of functions that can accept either image or np.array, images data were changed to np.array data at the call of the function, (func(variable) became func(variable.get_data()) or a

```python
try:
variable.get_data()
except AttributeError:
np.asarray(variable)
```

was added when more datatypes could be involved.