Hi Thomas,
I tried the wrapper, but it seems it only works once when you change the
color. If you try to change again I get this error:
Selector-Error: Invalid selection name "BSA_mono".
BSA_mono<--
BSA_mono being my loaded filename of course I can do other operations,
but coloring does not
Thanks for the quick answer Thomas!
Yes, I will need multiple instances so I will work with the proxy then.
Best,
Soren
On Tue, Feb 12, 2019 at 9:11 AM Thomas Holder
wrote:
> Hi Soren,
>
> Very interesting script, thanks for sharing!
>
> It looks like pymol2.PyMOL() doesn't work with the util
Hi Soren,
Very interesting script, thanks for sharing!
It looks like pymol2.PyMOL() doesn't work with the util module. It would need
to wrap all util functions and pass the "_self" argument with every function
call, just like pymol2.cmd2.Cmd does.
It works for me if I use pymol2.SingletonPyMOL
Hi,
I am using pymol with a wxpython interface and everything seems to work,
except when I try to change the color of an object using the internal gui,
I get a NameError: name 'util' is not defined error... can you see what is
the problem here?
Best,
Soren
Here is the script I am using:
import