What steps will reproduce the problem?
1. use dynsf with a custom lammps dump as shown in trajectory_readers.py line
247 -> ITEM: ATOMS id type x y z vx vy vz
2.
3.
What is the expected output? What do you see instead?
dynsf -f dump.lammpstrj
WARNING: No output file specified. Results will not be saved
Traceback (most recent call last):
File "~/.local/bin/dynsf", line 254, in <module>
2)
File "~/.local/lib/python2.7/site-packages/dsf/trajectory_readers.py", line 372, in next
self._get_first()
File "~/.local/lib/python2.7/site-packages/dsf/trajectory_readers.py", line 337, in _get_first
self._setup_indexes()
AttributeError: TRJ_reader instance has no attribute '_setup_indexes'
What version of the product are you using? On what operating system?
linux fedora 15
Please provide any additional information below.
looks like _setup_indexes() is not defined
did use:
def _setup_indexes(self):
self.indexes=self._x_I
in trajectory_readers.py to correct it, is it right ?
Original issue reported on code.google.com by
olivier....@gmail.comon 9 Oct 2012 at 4:16Attachments: