[PyMOL] Is it Possible to Redirect PyMOL Output?

2014-01-24 Thread Wilson Omesiete
I am using... import __main__, os os.environ['PYMOL_PATH'] = "C:\Python27\PyMOL" __main__.pymol_argv=["pymol","-qx"] import pymol pymol.finish_launching() ... to launch PyMOL from another Python based program that has it's own GUI. Is it possible for me to reroute the output from PyMOL to a fi

[PyMOL] Capture PyMOL Output When Launched From Python

2013-12-06 Thread Wilson Omesiete
Is it possible to capture the output stream from PyMOL when it is launched from a Python script with... import os, __main__ os.environ['PYMOL_PATH'] = "C:\Python27\PyMOL" __main__.pymol_argv=["pymol", "-qx"] import pymol pymol.finish_launching() I see that an IDE can do this. Is there a way for

Re: [PyMOL] Reset Default Carbon Color

2013-04-11 Thread Wilson Omesiete
") > > load file2.pdb > cmd.color(c.next(), "elem c") > > # ...etc > > > Hope it helps, > > Tsjerk > > > > On Wed, Apr 10, 2013 at 9:03 AM, Wilson Omesiete wrote: > >> I noticed that the default carbon color for loaded objects is se

[PyMOL] Reset Default Carbon Color

2013-04-10 Thread Wilson Omesiete
I noticed that the default carbon color for loaded objects is set to cycle from green to pink and then repeat to differentiate models. I have a lot of models being loading and deleted within one session, and it would be very useful to be able to reset that cycle, So that the first model after a res

[PyMOL] API Copy Screen Image to Clipboard

2013-03-14 Thread Wilson Omesiete
l of the GUI visible. -- Wilson Omesiete School of Biochemistry Georgia Institute of Technology -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today:

[PyMOL] Use PyMOL Namespace without Initializing

2013-02-15 Thread Wilson Omesiete
Is it possible to use PyMOL commands in a class definition before initializing PyMOL? I attempted to use "from pymol import cmd," and later initialize PyMOL with... __main__.pymol_argv=["pymol","-qx -X",PYMOLX,"-Y",PYMOLY] import pymol pymol.finish_launching() ... and PyMOL does delay launching

Re: [PyMOL] Managing Viewport Location

2013-02-10 Thread Wilson Omesiete
Thank you for noticing my sending mistake, Takanori. This import os, __main__, wx os.environ['PYMOL_PATH'] = "C:\Python27\PyMOL" pyMolX=300 pyMolY=500 __main__.pymol_argv = [ 'pymol', "-qxX",pyMolX,"-Y",pyMolY] # Quiet, no ext GUI, pos(pyMolX,pyMolY) import pymol, pymol.cmd pymol.finish_lau

[PyMOL] Managing Viewport Location

2013-02-08 Thread Wilson Omesiete
x"] # Quiet and no GUI import pymol pymol.finish_launching() app.MainLoop() ...to load PyMol without the external GUI in quiet mode. I tried passing "-qxX 30Y 50" in argv, but that change causes PyMol to load forever, also that would only give control over the initial position if it worked.