Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/BondFileAction.cpp

    rbe21fa rf10b0c  
    4343  if(World::getInstance().countSelectedMolecules() == 1) {
    4444    mol = World::getInstance().beginMoleculeSelection()->second;
    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());
     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());
    4949    World::AtomComposite Set = mol->getAtomSet();
    50     World::getInstance().getBondGraph()->CreateAdjacencyListFromDbondFile(Set, &input, params.skiplines, params.id_offset);
     50    World::getInstance().getBondGraph()->CreateAdjacencyListFromDbondFile(Set, &input, params.skiplines.get(), params.id_offset.get());
    5151    input.close();
    5252    mol->getBondCount();
Note: See TracChangeset for help on using the changeset viewer.