Hi Dan,
I see two issues.
First is that you need to call pymol.start() before calling any of the
pymol.cmd methods.
Second is that PyMOL 1.4 attempts OpenGL shader initialization in
start(), even if you're not using the shaders. With PyMOL 1.3 your code
below would probably work once you adde
With shaders enabled, it seems that transparent sticks aren't rendered
correctly. The transparency setting seems to be under applied, and way way
under applied for stick surfaces directly facing the lighting. Setting
sphere_transparency to 0.5 produces nicely transparent spheres, but with
stick
If you set stereo_mode to 6 while running pymol embedded in a widget (via the
pymol2 interface) pymol crashes.
This is because the code in pymol that figures out which screen lines get the
left and right eyes assumes that pymol's OpenGL context was created with glut.
The glut calls crash if the
On Dec 21, 2010, at 6:38 PM, Nat Echols wrote:
> On Tue, Dec 21, 2010 at 2:42 PM, Jason Ferrara wrote:
> I've been using the pymol2 interface to run pymol inside Qt widgets. There
> doesn't seem to be any documentation for it, but once you figure it out it
> seems to
I've been using the pymol2 interface to run pymol inside Qt widgets. There
doesn't seem to be any documentation for it, but once you figure it out it
seems to work well.
On Dec 21, 2010, at 12:27 AM, Jason Vertrees wrote:
> Hi Mike,
>
> It's possible, but at this point would be more trouble th
e first sele, stored.name = model
>
> print "User selected model %d" % int(split(stored.name, "_")[1])
>
>
> This is not ideal, but should get you closer to your solution.
>
> Cheers,
>
> -- Jason
>
>
>
>
> On Fri, Dec 17, 2010 a
If I have a multi state object loaded, and all_states set to on, is there a way
to select individual states with the mouse? Or if not at least some way to
query which state was clicked in to generate the selection, or to query which
state lies under a given x,y position in the view?
I'm writing