Hi PyMOLers,
I was tired of always typing the same commands to change *grid_mode* or *
seq_view*... I know it is possible to use set_key to define action but I
want a key to enable/disable some settings. I wrote a small script that
binds a key to a setting accepting 0/1 or on/off value.
http://py
Thank you Thomas
I've updated the scripts following your recommendation.
I wasn't aware of the auto-completion methods. It's great.
Cheers
2011/7/14 Thomas Holder
> nice :)
>
> The toggle() function can be much simplified:
>
> def toggle(setting):
>setting_value = cmd.get(setting)
>if