Changeset da7ef9 for src/Actions
- Timestamp:
- Jun 20, 2017, 8:01:46 PM (8 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, ChangeBugEmailaddress, ChemicalSpaceEvaluator, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_oldresults, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, StoppableMakroAction, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps
- Children:
- 15d21e
- Parents:
- 536b13
- git-author:
- Frederik Heber <heber@…> (03/23/17 03:34:50)
- git-committer:
- Frederik Heber <frederik.heber@…> (06/20/17 20:01:46)
- Location:
- src/Actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/Action.hpp
r536b13 rda7ef9 29 29 */ 30 30 #ifndef STATUS 31 #define STATUS(msg) pushStatus(msg) 31 #define STATUS(msg) \ 32 pushStatus(msg); \ 33 LOG(0, "STATUS: " << msg) 32 34 #endif 33 35 -
src/Actions/PotentialAction/ParsePotentialsAction.cpp
r536b13 rda7ef9 73 73 deserialize(); 74 74 } catch (SerializerMissingValueException &e) { 75 if (const std::string *key = boost::get_error_info<SerializerKey>(e)) 75 if (const std::string *key = boost::get_error_info<SerializerKey>(e)) { 76 76 STATUS("Missing value when parsing information for potential "+*key+"."); 77 else77 } else 78 78 STATUS("Missing value parsing information for potential with unknown key."); 79 79 return Action::failure; 80 80 } catch (SerializerIllegalKeyException &e) { 81 if (const std::string *key = boost::get_error_info<SerializerKey>(e)) 81 if (const std::string *key = boost::get_error_info<SerializerKey>(e)) { 82 82 STATUS("Illegal key parsing information for potential "+*key+"."); 83 else83 } else { 84 84 STATUS("Illegal key parsing information for potential with unknown key."); 85 } 85 86 return Action::failure; 86 87 }
Note:
See TracChangeset
for help on using the changeset viewer.