From: Ebert M. <m....@um...> - 2016-06-01 16:18:35
|
Hi there, I am trying to call the spectrumany plugin (or any plugin) from within a python script. I am generating a PSE file from within python in the following fashion: #!/usr/bin/python import __main__ __main__.pymol_argv = ['pymol','-qc'] # Pymol: quiet and no GUI import pymol pymol.finish_launching() pdbID = "1G68" fetchResult = pymol.cmd.fetch(pdbID, type='pdb', quiet=1) if fetchResult == -1: sys.exit("The provided PDB ID %s does not exist"%pdbID) pymol.cmd.save(“test.pse”) how would I now call the spectrumany plugin or any plugin function extending to the console in this way? cmd.<plugin_name> doesn’t work thank you! |