- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/CommandAction/BondLengthTableAction.cpp
rbe21fa rf10b0c 43 43 ostringstream usage; 44 44 45 LOG(0, "Using " << params.BondGraphFileName << " as bond length table.");45 LOG(0, "Using " << params.BondGraphFileName.get() << " as bond length table."); 46 46 BondGraph *&BG = World::getInstance().getBondGraph(); 47 47 … … 57 57 58 58 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()); 62 62 if ((input.good()) && (BG->LoadBondLengthTable(input))) { 63 63 LOG(0, "Bond length table parsed successfully."); … … 96 96 BondGraph *&BG = World::getInstance().getBondGraph(); 97 97 BG->CleanupBondLengthTable(); 98 std::ifstream input(state->params.BondGraphFileName. string().c_str());98 std::ifstream input(state->params.BondGraphFileName.get().string().c_str()); 99 99 if ((input.good()) && (BG->LoadBondLengthTable(input))) { 100 100 LOG(0, "Bond length table parsed successfully.");
Note:
See TracChangeset
for help on using the changeset viewer.