"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/pymol/lazyio.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.

lazyio.py  (pymol-open-source-2.2.0):lazyio.py  (pymol-open-source-2.3.0)
skipping to change at line 227 skipping to change at line 227
else: else:
oname = object oname = object
_self.load_model(model, oname, _self.load_model(model, oname,
state=model_num, zoom=zoom, discrete=discrete) state=model_num, zoom=zoom, discrete=discrete)
def get_mmtfstr(selection='all', state=1, _self=cmd): def get_mmtfstr(selection='all', state=1, _self=cmd):
''' '''
DEPRECATED: Use cmd.get_bytes('mmtf')
Export an atom selection to MMTF format. Export an atom selection to MMTF format.
''' '''
import simplemmtf import simplemmtf
try: try:
# register PyMOL-specific spec extensions # register PyMOL-specific spec extensions
simplemmtf.levels[u'atom'][u'pymolReps'] = 0 simplemmtf.levels[u'atom'][u'pymolReps'] = 0
simplemmtf.levels[u'atom'][u'pymolColor'] = 0 simplemmtf.levels[u'atom'][u'pymolColor'] = 0
simplemmtf.encodingrules[u'pymolRepsList'] = (7, 0) simplemmtf.encodingrules[u'pymolRepsList'] = (7, 0)
except Exception as e: except Exception as e:
 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)