Amber-MD / pytraj

Python interface of cpptraj
https://amber-md.github.io/pytraj
170 stars 38 forks source link

Problem with bonded_indices() method of pytraj.Atom class. #1531

Closed c56pony closed 4 years ago

c56pony commented 4 years ago

When I executed the bonded_indices() method of the pytraj.Atom class, I got the following error.

  File "pytraj/core/topology_objects.pyx", line 57, in pytraj.core.topology_objects.Atom.bonded_indices
ValueError: Buffer dtype mismatch, expected 'int' but got 'long'

python: 3.8.1 cpptraj: V4.26.2 (GitHub) pytraj: 2.0.5.dev0