"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/pymol/util.py" between
pymol-v2.1.0.tar.bz2 and pymol-open-source-2.2.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.

util.py  (pymol-v2.1.0.tar.bz2):util.py  (pymol-open-source-2.2.0)
skipping to change at line 226 skipping to change at line 226
SEE ALSO SEE ALSO
get_area command, dot_solvent and dot_density settings get_area command, dot_solvent and dot_density settings
''' '''
state, dot_density, quiet = int(state), int(dot_density), int(quiet) state, dot_density, quiet = int(state), int(dot_density), int(quiet)
tmpSel = _self.get_unused_name("_sel") tmpSel = _self.get_unused_name("_sel")
_self.select(tmpSel, sele, 0) _self.select(tmpSel, sele, 0)
if state < 1: if state < 1:
from pymol import querying state = _self.get_selection_state(tmpSel)
state = querying.get_selection_state(tmpSel)
tmpObj = _self.get_unused_name("_tmp") tmpObj = _self.get_unused_name("_tmp")
_self.create(tmpObj, "(byobj ?%s) & ! solvent" % (tmpSel), state, zoom=0) _self.create(tmpObj, "(byobj ?%s) & ! solvent" % (tmpSel), state, zoom=0)
_self.select(tmpSel, '?%s in ?%s' % (tmpObj, tmpSel), 0) _self.select(tmpSel, '?%s in ?%s' % (tmpObj, tmpSel), 0)
_self.set("dot_solvent", dot_solvent, tmpObj); _self.set("dot_solvent", dot_solvent, tmpObj);
if dot_density > -1: if dot_density > -1:
_self.set('dot_density', dot_density, tmpObj) _self.set('dot_density', dot_density, tmpObj)
r = _self.get_area(tmpSel, quiet=int(quiet)) r = _self.get_area(tmpSel, quiet=int(quiet))
 End of changes. 1 change blocks. 
2 lines changed or deleted 1 lines changed or added

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