Skip to content

a bug in to_ase_structure #98

Description

@njzjz

dpdata/dpdata/system.py

Lines 515 to 516 in 6306863

for name,numb in zip(system.data['atom_names'],system.data['atom_numbs']):
species.extend([name]*numb)

It considers the atom types are in order, but it may not...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions