Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BF: Fix NumPy warning when creating arrays from ragged sequences #2133

Merged

Commits on Apr 19, 2020

  1. BF: Fix NumPy warning when creating arrays from ragged sequences

    Fix NumPy warning when creating arrays from ragged sequences in IVIM
    reconstruction test.
    
    Fixes
    ```
    VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences
    (which is a list-or-tuple of lists-or-tuples-or ndarrays with different
    lengths or shapes) is deprecated. If you meant to do this, you must specify
    'dtype=object' when creating the ndarray
    ```
    
    triggered in
    https://travis-ci.org/github/dipy/dipy/jobs/676101427#L5495
    
    Rationale:
    https://numpy.org/neps/nep-0034-infer-dtype-is-object.html
    jhlegarreta committed Apr 19, 2020
    Copy the full SHA
    cae74f2 View commit details
    Browse the repository at this point in the history