Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/CommandAction/BondLengthTableAction.cpp

    rbe21fa rf10b0c  
    4343  ostringstream usage;
    4444
    45   LOG(0, "Using " << params.BondGraphFileName << " as bond length table.");
     45  LOG(0, "Using " << params.BondGraphFileName.get() << " as bond length table.");
    4646  BondGraph *&BG = World::getInstance().getBondGraph();
    4747
     
    5757
    5858  BG->CleanupBondLengthTable();
    59   if ((!params.BondGraphFileName.empty())
    60       && boost::filesystem::exists(params.BondGraphFileName)) {
    61     std::ifstream input(params.BondGraphFileName.string().c_str());
     59  if ((!params.BondGraphFileName.get().empty())
     60      && boost::filesystem::exists(params.BondGraphFileName.get())) {
     61    std::ifstream input(params.BondGraphFileName.get().string().c_str());
    6262    if ((input.good()) && (BG->LoadBondLengthTable(input))) {
    6363      LOG(0, "Bond length table parsed successfully.");
     
    9696  BondGraph *&BG = World::getInstance().getBondGraph();
    9797  BG->CleanupBondLengthTable();
    98   std::ifstream input(state->params.BondGraphFileName.string().c_str());
     98  std::ifstream input(state->params.BondGraphFileName.get().string().c_str());
    9999  if ((input.good()) && (BG->LoadBondLengthTable(input))) {
    100100    LOG(0, "Bond length table parsed successfully.");
Note: See TracChangeset for help on using the changeset viewer.