Hi Christian,
the pymol.session variable is not really part of the API -- means, not intended
to be modified or accessed by the user. However, it's all Python and obviously
not hidden, so you can mess around with it, if you do it right. Short answer
is: Always access it as "pymol.session", don'
Works perfectly, thanks a lot!
On 30.01.2015 21:31, Thomas Holder wrote:
> Hi Christian,
>
> the pymol.session variable is not really part of the API -- means,
> not intended to be modified or accessed by the user. However, it's
> all Python and obviously not hidden, so you can mess around with it
Dear pymol experts,
I found some odd behaviour when trying to use pymol.session in my
script. I'm using open source pymol 1.7.4.0 (built from svn) on linux.
Here comes a minimal example:
1) Create a directory, containing the following 2 files:
--- script.py ---
from pymol import cmd, session