Skip to content
Discussion options

You must be logged in to vote

NpzDataset, and indeed the npz format from numpy itself, requires all arrays to be rectangular (i.e. all frames must have the same number of atoms). For variable number of atoms, and indeed most cases, we recommend using dataset: ase with the extxyz format.

This particular error indicates that the number of atomic_numbers you provide is inconsistent with the number of atoms, which is taken from the number of positions you provide.

See other discussions, for example:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Linux-cpp-lisp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #230 on February 20, 2023 18:37.