28
edits
Bernhardcl (talk | contribs) No edit summary |
Bernhardcl (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<nowiki>add_key_binding("Refine Active Residue", "r", lambda: manual_refine_residues(0)) | <nowiki><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):<nowiki><nowiki>Insert non-formatted text here | if (not active_atom):<nowiki><nowiki>Insert non-formatted text here | ||
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> | </nowiki><nowiki>Insert non-formatted text here</nowiki></nowiki> |
edits