- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/BondFileAction.cpp
rf10b0c rbe21fa 43 43 if(World::getInstance().countSelectedMolecules() == 1) { 44 44 mol = World::getInstance().beginMoleculeSelection()->second; 45 LOG(0, "STATUS: Parsing bonds from " << params.bondfile .get()46 << ", skipping " << params.skiplines .get()<< "lines"47 << ", adding " << params.id_offset .get()<< " to each id.");48 ifstream input(params.bondfile. get().string().c_str());45 LOG(0, "STATUS: Parsing bonds from " << params.bondfile 46 << ", skipping " << params.skiplines << "lines" 47 << ", adding " << params.id_offset << " to each id."); 48 ifstream input(params.bondfile.string().c_str()); 49 49 World::AtomComposite Set = mol->getAtomSet(); 50 World::getInstance().getBondGraph()->CreateAdjacencyListFromDbondFile(Set, &input, params.skiplines .get(), params.id_offset.get());50 World::getInstance().getBondGraph()->CreateAdjacencyListFromDbondFile(Set, &input, params.skiplines, params.id_offset); 51 51 input.close(); 52 52 mol->getBondCount();
Note:
See TracChangeset
for help on using the changeset viewer.