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

volumetric list -> array #2525

Merged
merged 3 commits into from May 20, 2022
Merged

volumetric list -> array #2525

merged 3 commits into from May 20, 2022

Conversation

jmmshn
Copy link
Contributor

@jmmshn jmmshn commented May 19, 2022

Allow lists to be used to construct the data field of VolumetricData

Depending on how the object was jsantize and store one might be reconstructing the VolumetricData object from a list rather than an np.array.
This small tweak just ensures that the reconstructive data is always an np.array

@coveralls
Copy link

coveralls commented May 19, 2022

Coverage Status

Coverage decreased (-0.7%) to 83.323% when pulling c034c30 on jmmshn:main into 1f1056c on materialsproject:master.

@shyuep shyuep merged commit 30e36f6 into materialsproject:master May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants