Hi Krisztina, in PyMOL version 1.2 you cannot install this script as a "Plugin" (in version 1.5 you can!). Instead, use the "run" command to load it.
PyMOL> run path/to/plot_noe.py PyMOL> plot_noe path/to/restraints.file See also: http://pymolwiki.org/index.php/Run Cheers, Thomas On 28.10.2012 22:14, Krisztina Feher wrote: > Hi, > > I am looking for a script that could show CNS type distance restraints > on a pdb structure. In fact I have found a script on Justin Lorieau's > homepage > (http://www.lorieau.com/software/biophysics-software/40-plot-xplor-noes-in-pymol.html) > that seems to intend to do exactly what I want, but it does not seem to > work (I have Pymol 1.2 version installed with package manager of > Ubuntu). I installed it as Plugin, but it gives the message: > > Exception in plugin 'plot_noe' -- Traceback follows... > Traceback (most recent call last): > File "/usr/lib/python2.7/dist-packages/pmg_tk/PMGApp.py", line 321, > in initializePlugins > mod.__init__(self) > TypeError: module.__init__() argument 1 must be string, not instance > Error: unable to initialize plugin 'plot_noe'. > > Upon execution with a distance .tbl file nothing happens on the > structure. I attached the script, I would appreciate any ideas how to > make it work. > Thanks a lot! > Krisztina -- Thomas Holder MPI for Developmental Biology Spemannstr. 35 D-72076 Tübingen ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net