Changes

From CCP4 wiki
Jump to navigationJump to search
626 bytes removed ,  15:27, 15 April 2010
no edit summary
Line 259: Line 259:  
For (re-)colouring maps blue:
 
For (re-)colouring maps blue:
   −
# bluefy last map
+
[[blueify_map_keys.py]]
def blue_map_func1():
  −
    ls = map_molecule_list()
  −
    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()
  −
            break
  −
   
  −
add_key_binding("Blueify the Latest 2FoFc Map", "b",
  −
                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",
  −
                blue_map_func2)
      
To (re-)colour coordinate molecules yellow:
 
To (re-)colour coordinate molecules yellow:
28

edits

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

Navigation menu