28
edits
Bernhardcl (talk | contribs) No edit summary |
Bernhardcl (talk | contribs) No edit summary |
||
Line 37: | Line 37: | ||
fill_partial_residue(imol, chain_id, res_no, ins_code) | fill_partial_residue(imol, chain_id, res_no, ins_code) | ||
add_key_binding("Fill Partial", "k", lambda: key_binding_func_2()) | add_key_binding("Fill Partial", "k", lambda: key_binding_func_2()) | ||
add_key_binding("Kill Sidechain", "K", lambda: | |||
using_active_atom(delete_residue_sidechain, | |||
"aa_imol", "aa_chain_id", "aa_res_no", "aa_ins_code", 0)) | |||
refine_residue_sphere_radius = 3.5 # Angstroms | |||
add_key_binding("Refine residue in a sphere", "R", | |||
lambda: sphere_refine(refine_residue_sphere_radius)) | |||
def key_binding_func_3(): | def key_binding_func_3(): | ||
Line 88: | Line 96: | ||
def key_binding_func_6(): | def key_binding_func_6(): | ||
active_atom = active_residue() | active_atom = active_residue() | ||
if (not active_atom): | if (not active_atom): | ||
Line 99: | Line 106: | ||
atom_name = active_atom[4] | atom_name = active_atom[4] | ||
alt_conf = active_atom[5] | alt_conf = active_atom[5] | ||
regularize_zone(imol, chain_id, | |||
res_no - 1, res_no + 1, | |||
alt_conf) | |||
add_key_binding("Regularize Residues", "B", lambda: key_binding_func_6()) | |||
add_key_binding(" | |||
def key_binding_func_7(): | def key_binding_func_7(): |
edits