Re: [PyMOL] RMSD and Helices in a Protein

2011-03-10 Thread Thomas Holder
Hi Angelo, instead of calculating RMSD you could monitor pairwise helix angles over states. See attached script, it depends on the http://www.pymolwiki.org/index.php/AngleBetweenHelices script. Cheers, Thomas On Thu, Mar 10, 2011 at 12:05 AM, Angelo Rossi angelo.raymond.ro...@gmail.com wrote:

Re: [PyMOL] plugin dependencies

2011-03-10 Thread Hongbo Zhu
Just another reminder: If the version of the external python and the python shipped with PyMOL are different enough on the user's computer, the package might still fail to work in PyMOL even if the user has installed the package using the external python and edited the PYTHONPATH. So, how

[PyMOL] PyMOL breaks printing \b

2011-03-10 Thread Nicolas Bigaouette
Hi all, I want to print some info during loading of my data so I've added some print's. I wanted to take advantage of printing the backspace character \b to go back and overwrite the previous value. Unfortunately, I've found out that the finish_launching() command breaks this. Here is a simple

Re: [PyMOL] PyMOL breaks printing \b

2011-03-10 Thread Jason Vertrees
Hi Nicolas, I want to print some info during loading of my data so I've added some print's. I wanted to take advantage of printing the backspace character \b to go back and overwrite the previous value. Can you use the curses Python module (http://docs.python.org/library/curses.html) for

Re: [PyMOL] plugin dependencies

2011-03-10 Thread Jason Vertrees
Hi Roberto, This has always been a stumbling block for PyMOL. Either you compile from source and add any modules you want, or you use what we provide in the Incentive or Academic builds. In the past, to keep PyMOL light Warren always shipped a stripped Python version. Because of PyMOL's

[PyMOL] R: Re: plugin dependencies

2011-03-10 Thread rv...@libero.it
Hi Hongbo, thanks for your reply. So, how about ship all the BioPython packages you need in your python code together with your plugin? Of course all dependencies should be included. Is not so simple. A library like Biopython can't be installed as a plugin. An installer (OS specific) program

[PyMOL] R: Re: plugin dependencies

2011-03-10 Thread rv...@libero.it
Hi Jason, thanks for your reply. As a note, the new PyMOL builds will be quite a bit larger because we're adding more useful Python modules and some other libraries to the default install. Along with Numpy, PIL and friends, we'll also be distributing BioPython. This is a good news. Could you

Re: [PyMOL] R: Re: plugin dependencies

2011-03-10 Thread Michael Lerner
I really like the fact that Jason will be including more libraries with PyMOL in the future. I once needed to distribute a library that depended on BioPython. It turned out that, in my case, I only cared about a few specific files from BioPython, so I was able to strip out the necessary

[PyMOL] R: Re: R: Re: plugin dependencies

2011-03-10 Thread rv...@libero.it
Hi Michael, did you install each scattered file as a plugin?I am considering this option although looks quite tricky for disinstallation. If I don't fail the authors of Biopython allow this scattered use of their code (a citation of course is needed). Cheers, roberto Messaggio