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
On 28.10.2012 22:14, Krisztina Feher wrote:
> 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
> 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
> 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!
MPI for Developmental Biology