Reputation: 165
I would like to call one of the wizards from PyMOL menu in my python script. My script is python code which uses wx library. Does anybody knows if it is possible to do?
Upvotes: 0
Views: 748
Reputation: 36
so depending of what wizard you wanted to use, you might be better off simply calling the underlying commands.
For example, if you wanted to use the distance wizard, you would probably be better off simply calling the distance
command. See: http://www.pymolwiki.org/index.php/Distance
On the other hand, to try and use the wizards directly, you can call
pymol.cmd.wizard("annotation")
where 'annotation' is the name of the wizard you want. For more information, see http://www.pymolwiki.org/index.php/Annotation_wizard
Upvotes: 2