Skip to content

dpdata get_nframes() returns different number than number of rows in force/energy/virial vector #287

Answered by kimiaGF
kimiaGF asked this question in Q&A
Discussion options

You must be logged in to vote

After looking through the source code, I see that there is a default set_size for formatting which is 5000. This can be fixed by setting the set_size when calling .to_deepmd_npy

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kimiaGF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant