- Timestamp:
- Mar 2, 2017, 2:02:46 PM (8 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_ChronosMutex, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, GeometryObjects, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, PartialCharges_OrthogonalSummation, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, RotateToPrincipalAxisSystem_UndoRedo, StoppableMakroAction, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, Ubuntu_1604_changes, stable
- Children:
- 161fed
- Parents:
- 440ac3
- git-author:
- Frederik Heber <heber@…> (02/20/17 11:26:59)
- git-committer:
- Frederik Heber <heber@…> (03/02/17 14:02:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/Calculations/testsuite-calculations-phenanthrene.at
r440ac3 rc2f543 25 25 DISTANCE="2." 26 26 FILENAME="BondFragment" 27 # TODO: phenanthrene should consist only of bonds of degree 1, why not unique energy? 27 28 ENERGY="-534.0348792" 29 OTHERENERGY="-534.0412488" 28 30 29 31 file=${MOL}.pdb … … 43 45 --analyse-fragment-results \ 44 46 --fragment-prefix $FILENAME \ 45 -- fragment-resultfile${FILENAME}_results.dat],47 --save-fragment-results ${FILENAME}_results.dat], 46 48 0, [stdout], [stderr]) 47 49 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk '{print $2}'], 0, [stdout], [stderr]) 48 AT_CHECK([cat stdout | awk -v energy=$ENERGY 'function abs(x){return ((x < 0.0) ? -x : x)} {if (abs(($1 - energy)/energy) > 1e-5) exit(1)}'], 0) 50 AT_CHECK([cat energy_stdout | awk -v energy=$ENERGY 'function abs(x){return ((x < 0.0) ? -x : x)} {if (abs(($1 - energy)/energy) > 1e-5) exit(1)}'], 0, [stdout], [stderr], [ 51 AT_CHECK([cat energy_stdout | awk -v energy=$OTHERENERGY 'function abs(x){return ((x < 0.0) ? -x : x)} {if (abs(($1 - energy)/energy) > 1e-5) exit(1)}'], 0)]) 49 52 50 53 AT_CLEANUP
Note:
See TracChangeset
for help on using the changeset viewer.