Hi Matt,
plugins are not loaded automatically in headless mode. You have to import your
plugin first if you want to use it from a script. Something like:
import pmg_tk.startup.yourplugin
The plugin manager tells you the python module name of your plugin when you
click on "Info".
Cheers,
Tho
Hi,
If you don't need the GUI you can access your command using the extend
command.
In your script, put something like:
from pymol import cmd
def foo(bar):
print bar
cmd.extend('foo', foo)
Then in pymol first use the 'run' command to have pymol read your
script, and then call the funct