"Fossies" - the Fresh Open Source Software Archive  

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

internal.py  (pymol-open-source-2.2.0):internal.py  (pymol-open-source-2.3.0)
skipping to change at line 611 skipping to change at line 611
else: else:
r = _cmd.refresh(_self._COb) r = _cmd.refresh(_self._COb)
else: else:
r = _cmd.refresh_later(_self._COb) r = _cmd.refresh_later(_self._COb)
else: else:
r = _cmd.refresh_later(_self._COb) r = _cmd.refresh_later(_self._COb)
finally: finally:
_self.unlock(-1,_self) _self.unlock(-1,_self)
return r return r
# stereo (platform dependent )
def _sgi_stereo(flag): # SGI-SPECIFIC - bad bad bad
# WARNING: internal routine, subject to change
if sys.platform[0:4]=='irix':
if os.path.exists("/usr/gfx/setmon"):
if flag:
mode = os.environ.get('PYMOL_SGI_STEREO','1024x768_96s')
os.system("/usr/gfx/setmon -n "+mode)
else:
mode = os.environ.get('PYMOL_SGI_MONO','72hz')
os.system("/usr/gfx/setmon -n "+mode)
# color alias interpretation # color alias interpretation
def _interpret_color(_self,color): def _interpret_color(_self,color):
# WARNING: internal routine, subject to change # WARNING: internal routine, subject to change
_validate_color_sc(_self) _validate_color_sc(_self)
new_color = _self.color_sc.interpret(color) new_color = _self.color_sc.interpret(color)
if new_color: if new_color:
if is_string(new_color): if is_string(new_color):
return new_color return new_color
else: else:
 End of changes. 1 change blocks. 
13 lines changed or deleted 0 lines changed or added

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