Hi,
This might be a stupid question ... but I just don't get it.
I use the File-> Run command to run a python script from pymol (either
pml or py files).
Only one line in the file:
for i in range(2): print i
gives:
PyMOL>for i in range(2): print i
0
1
fine. however, if I do
Arthur,
Are you running in 24 or 32-bit color mode? Sometimes PyMOL has trouble
resolving atom picks in 16-bit color mode. Also, some PDB files reuse
residue numbers, which can cause PyMOL to include other atoms as well.
Cheers,
DeLano Scientific LLC
Email Support Services
> -Original Me
PyMOL Users,
If you are attending the ACS meeting next week...
Lead PyMOL Developer Warren L. DeLano will be holding an informal PyMOL
demonstration, training session, and users group meeting in Booth #327 of
the ACS National Exposition in San Francisco, September 11th-13th. Please
stop by at yo
>
> for i in range(2):
>
> print i
>
>
> What am I doing wrong? It doesn't matter what kind of indent (tabs,
> spaces) or filetypes (DOS/Unix) I use.
I ran into the same problem a while back. Try:
for i in range(2): \
print i
the EOL needs to be escaped for some reason...
Pe