Follow up to this. At least on one machine of the machines mentioned,
this script works fine when I copy/paste each line into idle. Strange....
Charles Moad wrote:
The CVS version in linux seg faults when trying to launch this simple
stereo startup script. I get this on two very different linux distros
and dependency versions.
#!/usr/bin/env python
# Tell PyMOL we don't want any GUI features.
import __main__
__main__.pymol_argv = [ 'pymol', '-Gi' ]
# Importing the PyMOL module will create the window.
import pymol
# Call the function below before using any PyMOL modules.
pymol.finish_launching()
from pymol import cmd
cmd.stereo('walleye')
cmd.set('stereo_shift', 0.23)
cmd.set('stereo_angle', 1.0)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users