Skip to content

DeprecationWarning with scipy 1.8.0 #149

Closed
@HippocampusGirl

Description

@HippocampusGirl

When using nitransforms version 20.0.0rc5, I get the following warnings with scipy 1.8.0

/usr/local/miniconda/lib/python3.10/site-packages/nitransforms/io/base.py:4: DeprecationWarning: Please use `get_matfile_version` from the `scipy.io.matlab` namespace, the `scipy.io.matlab.miobase` namespace is deprecated.
/usr/local/miniconda/lib/python3.10/site-packages/nitransforms/io/base.py:5: DeprecationWarning: Please use `MatFile4Reader` from the `scipy.io.matlab` namespace, the `scipy.io.matlab.mio4` namespace is deprecated.
/usr/local/miniconda/lib/python3.10/site-packages/nitransforms/io/base.py:6: DeprecationWarning: Please use `MatFile5Reader` from the `scipy.io.matlab` namespace, the `scipy.io.matlab.mio5` namespace is deprecated.

These point to the code here:

https://github.com/poldracklab/nitransforms/blob/d81d93ae07b980c2266880769da2b5a919d7b5a4/nitransforms/io/base.py#L5-L7

I would greatly appreciate if you could fix these :-) Thank you so much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions