Okay, well...

You need to know more about python search paths and importing modules...

You need to define and tell python to search in the directory where the CEaling script is.
Then you need to import the module in PyMOL.

Then you can use the function.

Basically, you need to learn basic stuff of python.
Please consider how you ask questions.

Best
Troels



Troels Emtekær Linnet
Slotsvej 2
4300 Holbæk
Mobil:
+45 60210234



2011/11/24 James Starlight <jmsstarlight@gmail.com>
Troels,

no I just typed command name
cealign ref, target

on another loptop I have more modern version of pymol with prebuilt CE. Here I can just type CEalign :)

James


2011/11/24 Troels Emtekær Linnet <tlinnet@gmail.com>
Have you told PyMOL to import the functions from a module?

What have you written in PyMOL?

/T

Troels Emtekær Linnet
Slotsvej 2
4300 Holbæk
Mobil:
+45 60210234



2011/11/24 James Starlight <jmsstarlight@gmail.com>
Dear PyMol Users!

I've decided to make this topic for all questions wich could be arrise during working in diffent PyMol plugins.

So My first question about installation of the plugins wich are separate python modules ( installed not via PyMolf itself)

E.g I have old PyMol wicj lack CEalign plugin. I have CEalign source wich then I succesfull installed in my python.

root@owntest:/home/own/Downloads/cealign-0.8-RBS# python setup.py build install
running build
running build_ext
running install
running install_lib
running install_egg_info
Writing /usr/local/lib/python2.6/dist-packages/cealign-0.8_RBS.egg-info

but when I try use CEalign from pymol I've obtaind

NameError: name 'cealign' is not defined

How I could install such plugins correctly ?

Thanks for help

James


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
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