Bernhards key bindings for coot.py: Difference between revisions

Jump to navigation Jump to search
no edit summary
(New page: add_key_binding("Refine Active Residue", "r", lambda: manual_refine_residues(0)) add_key_binding("Refine Active Residue AA", "x", lambda: refine_active_residue()) add_key_binding("Triple R...)
 
No edit summary
Line 1: Line 1:
add_key_binding("Refine Active Residue", "r", lambda: manual_refine_residues(0))
<nowiki>add_key_binding("Refine Active Residue", "r", lambda: manual_refine_residues(0))
add_key_binding("Refine Active Residue AA", "x", lambda: refine_active_residue())
add_key_binding("Refine Active Residue AA", "x", lambda: refine_active_residue())
add_key_binding("Triple Refine", "t", lambda: manual_refine_residues(1))
add_key_binding("Triple Refine", "t", lambda: manual_refine_residues(1))
Line 11: Line 11:
def key_binding_func_1():
def key_binding_func_1():
     active_atom = active_residue()
     active_atom = active_residue()
     if (not active_atom):
     if (not active_atom):<nowiki><nowiki>Insert non-formatted text here</nowiki></nowiki>
         print "No active atom"
         print "No active atom"
     else:
     else:
Line 85: Line 85:
                 add_status_bar_text("Rotamer name: " + name)
                 add_status_bar_text("Rotamer name: " + name)
add_key_binding("Rotamer name in Status Bar", "~", lambda: key_binding_func_5())
add_key_binding("Rotamer name in Status Bar", "~", lambda: key_binding_func_5())
</nowiki><nowiki>Insert non-formatted text here</nowiki>
28

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu