Re: [PyMOL] Using 'python' and 'python end' in pymol scripts

2016-10-19 Thread Gabriel Marques
Rename the script from .py to .pml Regards, Gabriel Marques PyMOL > On Oct 19, 2016, at 4:39 PM, #YEO JINGJIE# wrote: > > Dear Users, > > I am trying to implement a script which uses a mix of pymol and python > scripting. I enclosed the main portion within the 'python' and 'python end' > com

[PyMOL] Using 'python' and 'python end' in pymol scripts

2016-10-19 Thread #YEO JINGJIE#
Dear Users, I am trying to implement a script which uses a mix of pymol and python scripting. I enclosed the main portion within the 'python' and 'python end' commands. This runs perfectly fine in Pymol GUI mode, however when I tried it with 'pymol -cg my_script.py', it generates an error: Tra