- changed status to resolved
AttributeError in TrajectoryHOOMD due to hoomd API change
Issue #38
resolved
Error occurs due to API change with hoomd's box dim
File "/home/simon/.local/lib/python2.7/site-packages/freud/trajectory.py", line 139, in __iter__
yield self[idx];
File "/home/simon/.local/lib/python2.7/site-packages/freud/trajectory.py", line 132, in __getitem__
return self._get_current_frame();
File "/home/simon/.local/lib/python2.7/site-packages/freud/trajectory.py", line 1075, in _get_current_frame
box = Box(hoomd_box[0], hoomd_box[1], hoomd_box[2], self.sysdef.dimensions == 2);
AttributeError: boxdim instance has no attribute '__getitem__'
I fixed it locally and will send a pull request immediately.
Comments (2)
-
reporter -
- Log in to comment
Fix Issue
#38.→ <<cset 4b3a8d14c13b>>