Re: [PyMOL] Display running commands

2019-02-25 Thread Thomas Holder
Hi Pedro, There is a command logging option: From the menu: File > Log File > Open... Or use the "log_open" command: https://pymol.org/d/command:log_open Decorating cmd.create like you suggested also works, but you need to update the command language as well: cmd.keyword['create'][0] = cmd.cr

[PyMOL] Display running commands

2019-02-21 Thread Pedro Lacerda
Hi, I want to show executed commands when right before they run, so I can track my script execution. Something like the following for all the commands: orig_create = cmd.create def create(*args, **kwargs): print('create', repr(args), repr(kwargs)) orig_create(*args, **kwa