Changeset 15f6e9 for tests


Ignore:
Timestamp:
Feb 4, 2011, 6:56:38 PM (14 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
266875
Parents:
038713
git-author:
Frederik Heber <heber@…> (01/17/11 18:58:49)
git-committer:
Frederik Heber <heber@…> (02/04/11 18:56:38)
Message:

Extended Fragmentations tests by check for number of fragments per order.

  • Numbers are taken directly from one year old calculations (and still match).
Location:
tests/Fragmentations
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • tests/Fragmentations/1_2-dimethoxyethane.test

    r038713 r15f6e9  
    66set -e
    77
     8FragOrder_1=6
     9FragOrder_2=11
     10FragOrder_3=15
     11FragOrder_4=18
     12
    813for order in 1 2 3 4; do
    914  Fragmentation_run 0 $order 1.55
     15  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     16  echo "Number of fragment files on order $order is $no_fragments."
     17  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1018done
    1119
  • tests/Fragmentations/1_2-dimethylbenzene.test

    r038713 r15f6e9  
    66set -e
    77
     8FragOrder_1=8
     9FragOrder_2=16
     10FragOrder_3=26
     11FragOrder_4=39
     12
    813for order in 1 2 3 4; do
    914  Fragmentation_run 0 $order 1.55
     15  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     16  echo "Number of fragment files on order $order is $no_fragments."
     17  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1018done
    1119
  • tests/Fragmentations/2-methylcyclohexanone.test

    r038713 r15f6e9  
    66set -e
    77
     8FragOrder_1=8
     9FragOrder_2=16
     10FragOrder_3=26
     11FragOrder_4=39
     12
    813for order in 1 2 3 4; do
    914  Fragmentation_run 0 $order 1.55
     15  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     16  echo "Number of fragment files on order $order is $no_fragments."
     17  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1018done
    1119
  • tests/Fragmentations/N_N-dimethylacetamide.test

    r038713 r15f6e9  
    66set -e
    77
    8 for order in 1 2 3 4; do
     8FragOrder_1=6
     9FragOrder_2=11
     10FragOrder_3=17
     11FragOrder_4=23
     12FragOrder_5=27
     13FragOrder_6=28
     14
     15for order in 1 2 3 4 5 6; do
    916  Fragmentation_run 0 $order 1.55
     17  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     18  echo "Number of fragment files on order $order is $no_fragments."
     19  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1020done
    1121
  • tests/Fragmentations/benzene.test

    r038713 r15f6e9  
    66set -e
    77
    8 for order in 1 2 3 4; do
     8FragOrder_1=6
     9FragOrder_2=12
     10FragOrder_3=18
     11FragOrder_4=24
     12FragOrder_5=30
     13FragOrder_6=31
     14
     15for order in 1 2 3 4 5 6; do
    916  Fragmentation_run 0 $order 1.55
     17  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     18  echo "Number of fragment files on order $order is $no_fragments."
     19  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1020done
    1121
  • tests/Fragmentations/cholesterol.test

    r038713 r15f6e9  
    66set -e
    77
     8FragOrder_1=28
     9FragOrder_2=59
     10FragOrder_3=107
     11FragOrder_4=191
     12
    813for order in 1 2 3 4; do
    914  Fragmentation_run 0 $order 1.55
     15  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     16  echo "Number of fragment files on order $order is $no_fragments."
     17  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1018done
    1119
  • tests/Fragmentations/cycloheptane.test

    r038713 r15f6e9  
    66set -e
    77
    8 for order in 1 2 3 4; do
     8FragOrder_1=7
     9FragOrder_2=14
     10FragOrder_3=21
     11FragOrder_4=28
     12FragOrder_5=35
     13FragOrder_6=42
     14
     15for order in 1 2 3 4 5 6; do
    916  Fragmentation_run 0 $order 1.55
     17  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     18  echo "Number of fragment files on order $order is $no_fragments."
     19  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1020done
    1121
  • tests/Fragmentations/dimethyl_bromomalonate.test

    r038713 r15f6e9  
    66set -e
    77
    8 for order in 1 2 3 4; do
     8FragOrder_1=10
     9FragOrder_2=19
     10FragOrder_3=30
     11FragOrder_4=45
     12FragOrder_5=63
     13FragOrder_6=83
     14
     15for order in 1 2 3 4 5 6; do
    916  Fragmentation_run 0 $order 2.
     17  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     18  echo "Number of fragment files on order $order is $no_fragments."
     19  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1020done
    1121
  • tests/Fragmentations/glucose.test

    r038713 r15f6e9  
    66set -e
    77
    8 for order in 1 2 3 4; do
     8FragOrder_1=12
     9FragOrder_2=23
     10FragOrder_3=37
     11FragOrder_4=57
     12FragOrder_5=83
     13FragOrder_6=116
     14
     15for order in 1 2 3 4 5 6; do
    916  Fragmentation_run 0 $order 1.55
     17  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     18  echo "Number of fragment files on order $order is $no_fragments."
     19  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1020done
    1121
  • tests/Fragmentations/heptan.test

    r038713 r15f6e9  
    66set -e
    77
     8FragOrder_1=7
     9FragOrder_2=13
     10FragOrder_3=18
     11FragOrder_4=22
     12
    813for order in 1 2 3 4; do
    914  Fragmentation_run 0 $order 1.55
     15  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     16  echo "Number of fragment files on order $order is $no_fragments."
     17  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1018done
    1119
  • tests/Fragmentations/isoleucine.test

    r038713 r15f6e9  
    66set -e
    77
    8 for order in 1 2 3 4; do
     8FragOrder_1=9
     9FragOrder_2=17
     10FragOrder_3=27
     11FragOrder_4=40
     12FragOrder_5=55
     13FragOrder_6=70
     14
     15for order in 1 2 3 4 5 6; do
    916  Fragmentation_run 0 $order 1.55
     17  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     18  echo "Number of fragment files on order $order is $no_fragments."
     19  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1020done
    1121
  • tests/Fragmentations/neohexane.test

    r038713 r15f6e9  
    66set -e
    77
    8 for order in 1 2 3 4; do
     8FragOrder_1=6
     9FragOrder_2=11
     10FragOrder_3=18
     11FragOrder_4=25
     12FragOrder_5=29
     13FragOrder_6=30
     14
     15for order in 1 2 3 4 5 6; do
    916  Fragmentation_run 0 $order 1.55
     17  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     18  echo "Number of fragment files on order $order is $no_fragments."
     19  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1020done
    1121
  • tests/Fragmentations/proline.test

    r038713 r15f6e9  
    66set -e
    77
    8 for order in 1 2 3 4; do
     8FragOrder_1=8
     9FragOrder_2=16
     10FragOrder_3=26
     11FragOrder_4=39
     12FragOrder_5=52
     13FragOrder_6=64
     14
     15for order in 1 2 3 4 5 6; do
    916  Fragmentation_run 0 $order 1.55
     17  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     18  echo "Number of fragment files on order $order is $no_fragments."
     19  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1020done
    1121
  • tests/Fragmentations/putrescine.test

    r038713 r15f6e9  
    66set -e
    77
    8 for order in 1 2 3 4; do
     8FragOrder_1=6
     9FragOrder_2=11
     10FragOrder_3=15
     11FragOrder_4=18
     12FragOrder_5=20
     13FragOrder_6=21
     14
     15for order in 1 2 3 4 5 6; do
    916  Fragmentation_run 0 $order 1.55
     17  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     18  echo "Number of fragment files on order $order is $no_fragments."
     19  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1020done
    1121
  • tests/Fragmentations/tartaric_acid.test

    r038713 r15f6e9  
    66set -e
    77
    8 for order in 1 2 3 4; do
     8FragOrder_1=10
     9FragOrder_2=19
     10FragOrder_3=31
     11FragOrder_4=47
     12FragOrder_5=67
     13FragOrder_6=90
     14
     15for order in 1 2 3 4 5 6; do
    916  Fragmentation_run 0 $order 1.55
     17  no_fragments=`ls ${testdir}/$order/${FRAGMENTPREFIX}*.conf | wc -l`
     18  echo "Number of fragment files on order $order is $no_fragments."
     19  eval test "$no_fragments = \$FragOrder_$order" || exit 1
    1020done
    1121
Note: See TracChangeset for help on using the changeset viewer.