"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/pymol/keyboard.py" between
pymol-v1.8.6.0.tar.bz2 and pymol-v2.1.0.tar.bz2

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

keyboard.py  (pymol-v1.8.6.0.tar.bz2):keyboard.py  (pymol-v2.1.0.tar.bz2)
skipping to change at line 162 skipping to change at line 162
def get_active_selection_name(self_cmd=cmd): def get_active_selection_name(self_cmd=cmd):
# find the name of the active selection # find the name of the active selection
for sel in self_cmd.get_names("public_selections", enabled_only=1): for sel in self_cmd.get_names("public_selections", enabled_only=1):
return sel return sel
return None return None
def get_default_keys(_self=cmd): def get_default_keys(_self=cmd):
_self = _self._weakrefproxy
emptydict = {} emptydict = {}
keys = { keys = {
'left' : ( _self.backward , (), emptydict ), 'left' : ( _self.backward , (), emptydict ),
'right' : ( _self.forward , (), emptydict ), 'right' : ( _self.forward , (), emptydict ),
'pgup' : 'scene action=previous', 'pgup' : 'scene action=previous',
'pgdn' : 'scene action=next', 'pgdn' : 'scene action=next',
'home' : 'zoom animate=-1', 'home' : 'zoom animate=-1',
'end' : 'mtoggle', 'end' : 'mtoggle',
'insert' : 'rock', 'insert' : 'rock',
'SHFT-left' : 'backward', 'SHFT-left' : 'backward',
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)