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

Changes

From CCP4 wiki

Coot

41 bytes removed, 11:03, 1 December 2009
m
no edit summary
ls.reverse()
for map_mol in ls:
if (not map_is_difference_map(map_mol)):
set_map_colour(map_mol, 0.1, 0.5, 0.68)
graphics_draw()
add_key_binding("Blueify the Latest 2FoFc Map", "b",
lambda: blue_map_func1())
# bluefy all 2FoFc maps
def blue_map_func2():
for map_mol in map_molecule_list():
if (not map_is_difference_map(map_mol)):
set_map_colour(map_mol, 0.1, 0.5, 0.68)
graphics_draw()
add_key_binding("Blueify all 2FoFc Maps", "B",
lambda: blue_map_func2())
To (re-)colour coordinate molecules yellow:
def yellow_coords_func1():
ls = model_molecule_list()
if (len(ls) > 0):
set_molecule_bonds_colour_map_rotation(ls[-1], 20)
graphics_draw()
add_key_binding("Yellowify last coordinates", "y",
lambda: yellow_coords_func1())
# yellowify all coordinate molecules
add_key_binding("Yellowify all coordinates", "Y",
lambda: (map(lambda imol: [set_molecule_bonds_colour_map_rotation(imol, 20), for imol in model_molecule_list())],
graphics_draw()))
1
edit

Navigation menu