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
Hi all,
I'm trying to run a PyMOL script from command line that invokes some
custom plugins I've written. Everything works as supposed in GUI mode,
but when running the script from command line, the parser complains that
can't find any of the plugin commands included in the PyMOL script.
This