Re: [PyMOL] need more info

2010-07-13 Thread Robert Campbell
Hi Vivek, On Tue, 13 Jul 2010 13:18:07 -0400 Vivek Ranjan wrote: > Thank you once again. I have been trying to change the color of the cell. > > cell = [] > cell.append(CYLINDER) > cell = cell + vert_000 + vert_100 + [radius] + [0,0,0] + [1,0,0] > cell.append(CYLINDER) > cell = cell +

Re: [PyMOL] need more info

2010-07-13 Thread Jason Vertrees
Vivek, append and extend are Python functions. "cell = []" asks Python to create you a Python list and name it "cell." For more information on list functions see the Python docs (http://docs.python.org/library/stdtypes.html#mutable-sequence-types) about mutable sequence types. Cheers, -- Jason

Re: [PyMOL] need more info

2010-07-13 Thread Vivek Ranjan
Thank you once again. I have been trying to change the color of the cell. cell = [] cell.append(CYLINDER) cell = cell + vert_000 + vert_100 + [radius] + [0,0,0] + [1,0,0] cell.append(CYLINDER) cell = cell + vert_000 + vert_010 + [radius] + [0,0,0] + [0,1,0] cell.append(CYLINDER) if I

Re: [PyMOL] need more info

2010-07-13 Thread Robert Campbell
Hello Vivek, On Tue, 13 Jul 2010 11:21:03 -0400 Vivek Ranjan wrote: > Hello, > > First, thanks a lot for your help. Pymol with cctbx works now for me. > I changed the script "pymol" and replaced "/usr/binpython" to "python" > and thats it. Few more questions: > > (i) draw_cell.py uses lavv.pdb