Pizza.py dump file format

Dear Lammps-users,

I would like to produce video and images of my dump output of lammps. My dump file looks like this:

ITEM: TIMESTEP
1
ITEM: NUMBER OF ATOMS
1024
ITEM: BOX BONDS xx yy zz
0 16
0 16
0 0
ITEM: ATOMS id x y z
1 5.73816 14.5054 0
2 4.76023 4.93438 0

It seams that pizza can read it correctly but then I get following error after the command @run movie.py svg 30 60 tmp.*:

d=dump("…/dpd_RPF.out")
1 2 5 10
read 4 snapshots
4 snapshots selected out of 4
assigned columns: id x y z
dump is already unscaled
d=tselect.all()
4 snapshots selected out of 4
d=aselect.all()
d.scatter(“tmp”)
1 2 5 10
4 snapshots
@run movie.py svg 30 60 tmp.*
Executing file: /home/username/Work/pizza/scripts/movie.py
tmp.*
10 1 5 2
read 4 snapshots
4 snapshots selected out of 4
assigned columns: id x y z
dump is already unscaled
Error in sys.excepthook:
Traceback (most recent call last):
File “/home/username/Work/pizza/src/pizza.py”, line 229, in trap
execfile(fullfile,namespace)
File “/home/username/Work/pizza/scripts/movie.py”, line 34, in
viz.all()
File “/home/username/Work/pizza/src/svg.py”, line 254, in all
time,boxone,atoms,bonds,tris,lines = data.viz(which)
File “/home/username/Work/pizza/src/dump.py”, line 1015, in viz
type = self.names[self.atype]
KeyError: ‘type’

Original exception was:
File “”, line 1
@run movie.py svg 30 60 tmp.*
^
SyntaxError: invalid syntax

It makes me really crazy so thast I would really appreciate your help,
Best,

Morgane

i cannot help you with your immediate pizza.py problem, but have you considered using dump movie and/or dump image directly in LAMMPS or create movies/images via VMD, Ovito, atomeye or other viz tools that understand the LAMMPS dump file format?
http://lammps.sandia.gov/prepost.html

axel.

It looks like pizza chokes on the lack of a type column in your dump. Other visualization software can probably work around it.