Hi all,

Setup: (Mac OS X, 10.3.8, 1.33 GHz PowerPC G4, 256MB RAM, PyMOLX11Hybrid v0.95, MaxPyMOL v0.95)

I've created a new plugin and I want it to load on startup.

Using PyMOLX11Hybrid or pymol under linux I would simply place the new file in the following directory:

/Applications/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/startup/

however under MacPyMOL this doesn't work and you need to issue the command
from the pymol command line

% run /path/to/script/name.py

Can anyone help me here, can it be load on startup?
Is it something to do with carbon and tk? Is there another startup directory?

Also, a side note: lots of the plugins available on the web cannot be imported into PyMOLX11Hybrid
correctly, you get the following error message:

Traceback (most recent call last):
File "/Users/delwarl/pymol/products/PyMOLX11Hybrid.app/pymol/modules/pmg_tk/ PMGApp.py", line 327, in createInterface

Adding a __init__ function to the plugin corrects this, but it this the correct way of doing things.

Thanks,

- Martin.


Reply via email to