"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/pymol/setting.py" between
pymol-open-source-2.2.0.tar.gz and pymol-open-source-2.3.0.tar.gz

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.

setting.py  (pymol-open-source-2.2.0):setting.py  (pymol-open-source-2.3.0)
skipping to change at line 17 skipping to change at line 17
#G* Please see the accompanying LICENSE file for further information. #G* Please see the accompanying LICENSE file for further information.
#H* ------------------------------------------------------------------- #H* -------------------------------------------------------------------
#I* Additional authors of this source file include: #I* Additional authors of this source file include:
#-* #-*
#-* #-*
#-* #-*
#Z* ------------------------------------------------------------------- #Z* -------------------------------------------------------------------
from __future__ import print_function from __future__ import print_function
if __name__=='pymol.setting': if True:
import traceback import traceback
import string
import types
from . import selector from . import selector
from .shortcut import Shortcut from .shortcut import Shortcut
cmd = __import__("sys").modules["pymol.cmd"] cmd = __import__("sys").modules["pymol.cmd"]
from .cmd import _cmd,lock,lock_attempt,unlock,QuietException, \ from .cmd import _cmd,lock,lock_attempt,unlock,QuietException, \
is_string, \ is_string, \
_feedback,fb_module,fb_mask, \ _feedback,fb_module,fb_mask, \
DEFAULT_ERROR, DEFAULT_SUCCESS, _raising, is_ok, is_error DEFAULT_ERROR, DEFAULT_SUCCESS, _raising, is_ok, is_error
import re
boolean_type = 1
int_type = 2
float_type = 3
float3_type = 4
self = cmd
# name -> index mapping # name -> index mapping
index_dict = _cmd.get_setting_indices() index_dict = _cmd.get_setting_indices()
# index -> name mapping # index -> name mapping
name_dict = dict((v,k) for (k,v) in index_dict.items()) name_dict = dict((v,k) for (k,v) in index_dict.items())
name_list = list(index_dict.keys()) name_list = list(index_dict.keys())
setting_sc = Shortcut(name_list) setting_sc = Shortcut(name_list)
 End of changes. 3 change blocks. 
11 lines changed or deleted 1 lines changed or added

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