Ignore:
Timestamp:
Mar 16, 2017, 6:48:58 AM (8 years ago)
Author:
Frederik Heber <heber@…>
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, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, 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, PartialCharges_OrthogonalSummation, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, RotateToPrincipalAxisSystem_UndoRedo, StoppableMakroAction, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, Ubuntu_1604_changes, stable
Children:
917c46
Parents:
cb20c0
Message:

Recreated all GuiChecks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/GuiChecks/Potential/FitPotential/testsuite-potential-fit-potential.at

    rcb20c0 rd50b91  
    2222AT_KEYWORDS([potential parse-homologies fit-potential morse])
    2323AT_SKIP_IF([../../molecuilder --help fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
     24# homology files probably originate from Labspace/PotentialFitting/WaterAngle
     25# recreate homology file: PYTHONPATH=... /usr/bin/python .../tests/regression/Potential/FitPotential/pre/measurement_function.py length_common.pdb 2 0 0 5 4 127.0.0.1 2050 6-311G* 1 2. 10 .../share/molecuilder/data/bondtables/bondtable.dat
    2426
    2527file=length_homology.dat
     
    3133# check that L_2 error is below 1e-6
    3234# check parameters to printed precision
    33 AT_CHECK([grep "morse:.*particle_type1=8,.*particle_type2=1,.*spring_constant=1.2.*,.*equilibrium_distance=1.7.*,.*dissociation_energy=0.19.*;" length.potentials], 0, [ignore], [ignore])
     35AT_CHECK([grep "morse:.*particle_type1=8,.*particle_type2=1,.*spring_constant=1.3.*,.*equilibrium_distance=1.7.*,.*dissociation_energy=0.19.*;" length.potentials], 0, [ignore], [ignore])
    3436
    3537AT_CLEANUP
     
    3840AT_KEYWORDS([potential parse-homologies fit-potential harmonic])
    3941AT_SKIP_IF([../../molecuilder --help fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
     42# homology files probably originate from Labspace/PotentialFitting/Water
     43# see morse fitting
    4044
    41 file=harmonic_homology.dat
     45file=length_homology.dat
    4246AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Potential/FitPotential/pre/$file $file], 0)
    4347AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    44 AT_CHECK([../../molecuilder --dry-run   --parse-homologies $file        --set-random-number-engine "lagged_fibonacci607"                --random-number-engine-parameters "seed=1;"     --set-random-number-distribution "uniform_real"                 --random-number-distribution-parameters "min=0;max=1;"  --fit-potential                 --potential-type "harmonic_bond"                --potential-charges 8 1                 --fragment-charges 1 8 1                --set-threshold 5e-6    --save-potentials harmonic.potentials --no-dry-run --store-session session-potential-fit-potential.py --session-type python], 0, [stdout], [ignore])
     48AT_CHECK([../../molecuilder --dry-run   --parse-homologies $file        --set-random-number-engine "lagged_fibonacci607"                --random-number-engine-parameters "seed=1;"     --set-random-number-distribution "uniform_real"                 --random-number-distribution-parameters "min=0;max=1;"  --fit-potential                 --potential-type "harmonic_bond"                --potential-charges 8 1                 --fragment-charges 1 8 1                --set-threshold 6e-4    --save-potentials harmonic.potentials --no-dry-run --store-session session-potential-fit-potential.py --session-type python], 0, [stdout], [ignore])
    4549AT_CHECK([grep -v "Command.*DryRun" session-potential-fit-potential.py >session-potential-fit-potential_new.py], 0, [ignore], [ignore])
    4650AT_CHECK([../../molecuilderguitest session-potential-fit-potential_new.py], 0, [stdout], [ignore])
    47 # check that L_2 error is below 5e-6
     51# check that L_2 error is below 6e-4
    4852# check parameters to printed precision
    49 AT_CHECK([grep "harmonic_bond:.*particle_type1=8,.*particle_type2=1,.*spring_constant=0.29.*,.*equilibrium_distance=1.8.*;" harmonic.potentials], 0, [ignore], [ignore])
     53AT_CHECK([grep "harmonic_bond:.*particle_type1=8,.*particle_type2=1,.*spring_constant=0.4.*,.*equilibrium_distance=1.8.*;" harmonic.potentials], 0, [ignore], [ignore])
    5054
    5155AT_CLEANUP
     
    5458AT_KEYWORDS([potential parse-homologies fit-potential harmonic_angle])
    5559AT_SKIP_IF([../../molecuilder --help fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
     60# homology files probably originate from Labspace/PotentialFitting/WaterAngle
     61# recreate homology file: PYTHONPATH=... /usr/bin/python .../tests/regression/Potential/FitPotential/pre/measurement_function.py angle_common.pdb 2 0 0 5 4 127.0.0.1 2050 6-311G* 1 2. 10 .../share/molecuilder/data/bondtables/bondtable.dat
    5662
    5763file=angle_homology.dat
     
    6369# check that L_2 error is below 1e-6
    6470# check parameters to printed precision
    65 AT_CHECK([grep "harmonic_angle:.*particle_type1=1,.*particle_type2=8,.*particle_type3=1,.*spring_constant=0.10.*,.*equilibrium_distance=-0.27.*;" angle.potentials], 0, [ignore], [ignore])
     71AT_CHECK([grep "harmonic_angle:.*particle_type1=1,.*particle_type2=8,.*particle_type3=1,.*spring_constant=0.10.*,.*equilibrium_distance=-0.29.*;" angle.potentials], 0, [ignore], [ignore])
    6672
    6773AT_CLEANUP
     
    7076AT_KEYWORDS([potential parse-homologies fit-potential torsion])
    7177AT_SKIP_IF([../../molecuilder --help fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
     78# homology files probably originate from Labspace/PotentialFitting/Butane
     79# recreate homology file: PYTHONPATH=... /usr/bin/python .../tests/regression/Potential/FitPotential/pre/measurement_function.py torsion_common.pdb 4 0 0 5 4 127.0.0.1 2050 6-311G* 1 2. 10 .../share/molecuilder/data/bondtables/bondtable.dat
    7280
    7381file=torsion_homology.dat
     
    8694AT_KEYWORDS([potential parse-homologies fit-potential improper])
    8795AT_SKIP_IF([../../molecuilder --help fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
     96# homology files probably originate from Labspace/PotentialFitting/Ammonia
     97# recreate homology file: PYTHONPATH=... /usr/bin/python .../tests/regression/Potential/FitPotential/pre/measurement_function.py improper_common.pdb 2 0 0 5 4 127.0.0.1 2050 6-311G* 1 2. 10 .../share/molecuilder/data/bondtables/bondtable.dat
    8898
    8999file=improper_homology.dat
    90100AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Potential/FitPotential/pre/$file $file], 0)
    91101AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
    92 AT_CHECK([../../molecuilder --dry-run   --parse-homologies $file        --set-random-number-engine "lagged_fibonacci607"                --random-number-engine-parameters "seed=1;"     --set-random-number-distribution "uniform_real"                 --random-number-distribution-parameters "min=0;max=1;"  --fit-potential                 --potential-type "improper"             --potential-charges 1 7 1 1             --fragment-charges 7 1 1 1              --set-threshold 3e-4    --save-potentials improper.potentials --no-dry-run --store-session session-potential-fit-potential.py --session-type python], 0, [stdout], [ignore])
     102AT_CHECK([../../molecuilder --dry-run   --parse-homologies $file        --set-random-number-engine "lagged_fibonacci607"                --random-number-engine-parameters "seed=1;"     --set-random-number-distribution "uniform_real"                 --random-number-distribution-parameters "min=0;max=1;"  --fit-potential                 --potential-type "improper"             --potential-charges 7 1 1 1             --fragment-charges 7 1 1 1              --set-threshold 3e-4    --save-potentials improper.potentials --no-dry-run --store-session session-potential-fit-potential.py --session-type python], 0, [stdout], [ignore])
    93103AT_CHECK([grep -v "Command.*DryRun" session-potential-fit-potential.py >session-potential-fit-potential_new.py], 0, [ignore], [ignore])
    94104AT_CHECK([../../molecuilderguitest session-potential-fit-potential_new.py], 0, [stdout], [ignore])
    95105# check that L_2 error is below 3e-4
    96106# check parameters to printed precision
    97 AT_CHECK([grep "improper:.*particle_type1=1,.*particle_type2=7,.*particle_type3=1,.*particle_type4=1,.*spring_constant=.*,.*equilibrium_distance=.*;" improper.potentials], 0, [ignore], [ignore])
    98 #AT_CHECK([grep "improper:.*particle_type1=1,.*particle_type2=7,.*particle_type3=1,.*particle_type4=1,.*spring_constant=1.02.*,.*equilibrium_distance=0.85.*;" improper.potentials], 0, [ignore], [ignore])
     107AT_CHECK([grep "improper:.*particle_type1=7,.*particle_type2=1,.*particle_type3=1,.*particle_type4=1,.*spring_constant=.*,.*equilibrium_distance=.*;" improper.potentials], 0, [ignore], [ignore])
     108#AT_CHECK([grep "improper:.*particle_type1=7,.*particle_type2=1,.*particle_type3=1,.*particle_type4=1,.*spring_constant=1.02.*,.*equilibrium_distance=0.85.*;" improper.potentials], 0, [ignore], [ignore])
    99109
    100110AT_CLEANUP
     
    103113AT_KEYWORDS([potential parse-homologies fit-potential lennardjones])
    104114AT_SKIP_IF([../../molecuilder --help fit-potential; if test $? -eq 5; then /bin/true; else /bin/false; fi])
     115# homology files probably originate from Labspace/PotentialFitting/Argon
     116# recreate homology file: PYTHONPATH=... /usr/bin/python .../tests/regression/Potential/FitPotential/pre/measurement_function.py lj_common.pdb 2 0 0 5 4 127.0.0.1 2050 6-311G* 2 11. 10 .../share/molecuilder/data/bondtables/bondtable.dat
    105117
    106118file=lj_homology.dat
Note: See TracChangeset for help on using the changeset viewer.