"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer2/AssemblyHelpers.cpp" 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.

AssemblyHelpers.cpp  (pymol-open-source-2.2.0):AssemblyHelpers.cpp  (pymol-open-source-2.3.0)
skipping to change at line 20 skipping to change at line 20
#include "AssemblyHelpers.h" #include "AssemblyHelpers.h"
#include "MemoryDebug.h" #include "MemoryDebug.h"
/* /*
* Create a coordset for a segi (chain) selection * Create a coordset for a segi (chain) selection
*/ */
CoordSet * CoordSetCopyFilterChains( CoordSet * CoordSetCopyFilterChains(
const CoordSet * other, const CoordSet * other,
const AtomInfoType * atInfo, const AtomInfoType * atInfo,
const std::set<lexidx_t> & chains_set) const std::set<lexborrow_t> & chains_set)
{ {
std::vector<int> idxmap; std::vector<int> idxmap;
idxmap.reserve(other->NIndex); idxmap.reserve(other->NIndex);
for (int idx = 0; idx < other->NIndex; ++idx) for (int idx = 0; idx < other->NIndex; ++idx)
if (chains_set.count(atInfo[other->IdxToAtm[idx]].segi) > 0) if (chains_set.count(atInfo[other->IdxToAtm[idx]].segi) > 0)
idxmap.push_back(idx); idxmap.push_back(idx);
CoordSet * cset = CoordSetNew(other->State.G); CoordSet * cset = CoordSetNew(other->State.G);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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