bowman-lab / enspara

Modeling molecular ensembles with scalable data structures and parallel computing
https://enspara.readthedocs.io
GNU General Public License v3.0
33 stars 16 forks source link

Warning when creating ragged arrays #219

Closed Justin-J-Miller closed 7 months ago

Justin-J-Miller commented 1 year ago

Creating ragged arrays throws a VisibleDeprecationWarning. A few examples below. I think this should be an easy fix by providing dtype=object at the time of creation, but I wanted to open discussion on if folks think this would break downstream code. Happy to drop these in and run some tests.

EDIT current versions of software- python version 3.6.13 numpy version 1.19.5

mizimmer90 commented 1 year ago

Sounds good! Give it a try and let's see if slicing still works alright