RE: [PyMOL] Global vars in Plugin name space?

2005-09-19 Thread Warren DeLano
-Original Message- > From: pymol-users-ad...@lists.sourceforge.net > [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of > Andreas Henschel > Sent: Monday, September 19, 2005 5:05 AM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] Global vars in

Re: [PyMOL] Global vars in Plugin name space?

2005-09-19 Thread Ezequiel H Panepucci
Andreas Henschel wrote: Is it the only possibility to put all functions > that share memory in the same plugin? no. you can do the following: from pymol import cmd,stored stored.colorDict = { 'blue': '/1ewf//A/1-217 and not hetatm',

[PyMOL] Global vars in Plugin name space?

2005-09-19 Thread Andreas Henschel
Hi all, I wrote some functions (usually loaded via .pymolrc.py) that establish some information which I would like to use from Plugins, too. In particular, everytime a PQS/PDB protein complex is loaded, I retrieve SCOP data and color domains accordingly. I would like to maintain a dictionary t