On Fri, Jan 13, 2012 at 4:34 AM, tusi <t...@enzim.hu> wrote: > Dear All, > > After updating to Ubuntu natty (11.04), cmd.do('png filename') does not > work. When I execute the following commands in pymol I get the wanted > png picture: > > load tmp.pdb tmp > png tmp.png > > > but, if I execute the following script, the png file does not arise: > > from pymol import cmd > cmd.do('load tmp.pdb, tmp') > cmd.do('png tmp.png') > > No any error is reported on pymol console.
Can you try doing from pymol import cmd cmd.load('tmp.pdb', 'tmp') cmd.png('tmp.png') -David ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net