Ignore:
Timestamp:
Apr 18, 2011, 12:45:06 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:
4fdc65
Parents:
4217e7
git-author:
Frederik Heber <heber@…> (04/18/11 12:43:30)
git-committer:
Frederik Heber <heber@…> (04/18/11 12:45:06)
Message:

FIX: Type is actually spelled type with TREMOLO.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/unittests/ParserTremoloUnitTest.cpp

    r4217e7 r305e7e  
    4646
    4747static string Tremolo_Atomdata1 = "\
    48 # ATOMDATA\tId\tname\tType\tx=3\n";
     48# ATOMDATA\tId\tname\ttype\tx=3\n";
    4949static string Tremolo_Atomdata2 = "\
    5050#\n\
    51 #ATOMDATA Id name Type x=3\n\
     51#ATOMDATA Id name type x=3\n\
    52521 hydrogen H 3.0 4.5 0.1\n\
    5353\n";
    5454static string Tremolo_invalidkey = "\
    5555#\n\
    56 #ATOMDATA Id name foo Type x=3\n\
     56#ATOMDATA Id name foo type x=3\n\
    5757\n\n";
    5858static string Tremolo_velocity = "\
    5959#\n\
    60 #ATOMDATA Id name Type u=3\n\
     60#ATOMDATA Id name type u=3\n\
    61611 hydrogen H 3.0 4.5 0.1\n\
    6262\n";
    6363static string Tremolo_neighbours = "#\n\
    64 #ATOMDATA Id Type neighbors=2\n\
     64#ATOMDATA Id type neighbors=2\n\
    65651 H 3 0\n\
    66662 H 3 0\n\
     
    6868static string Tremolo_improper = "\
    6969#\n\
    70 #ATOMDATA Id Type imprData\n\
     70#ATOMDATA Id type imprData\n\
    71718 H 9-10\n\
    72729 H 10-8,8-10\n\
     
    7474static string Tremolo_torsion = "\
    7575#\n\
    76 #ATOMDATA Id Type torsion\n\
     76#ATOMDATA Id type torsion\n\
    77778 H 9-10\n\
    78789 H 10-8,8-10\n\
    797910 O -\n";
    8080static string Tremolo_full = "\
    81 # ATOMDATA\tx=3\tu=3\tF\tstress\tId\tneighbors=5\timprData\tGroupMeasureTypeNo\tType\textType\tname\tresName\tchainID\tresSeq\toccupancy\ttempFactor\tsegID\tCharge\tcharge\tGrpTypeNo\ttorsion\n\
     81# ATOMDATA\tx=3\tu=3\tF\tstress\tId\tneighbors=5\timprData\tGroupMeasureTypeNo\ttype\textType\tname\tresName\tchainID\tresSeq\toccupancy\ttempFactor\tsegID\tCharge\tcharge\tGrpTypeNo\ttorsion\n\
    82820\t0\t0\t0\t0\t0\t0\t0\t1\t0\t0\t0\t0\t0\t-\t0\tH\t-\t-\t-\t0\t0\t0\t0\t0\t0\t0\t0\t-\t\n";
    8383
     
    214214    atom* newAtom = World::getInstance().createAtom();
    215215    newAtom->setType(1);
    216     testParser->setFieldsForSave("x=3 u=3 F stress Id neighbors=5 imprData GroupMeasureTypeNo Type extType name resName chainID resSeq occupancy tempFactor segID Charge charge GrpTypeNo torsion");
     216    testParser->setFieldsForSave("x=3 u=3 F stress Id neighbors=5 imprData GroupMeasureTypeNo type extType name resName chainID resSeq occupancy tempFactor segID Charge charge GrpTypeNo torsion");
    217217    std::vector<atom *> atoms = World::getInstance().getAllAtoms();
    218218    testParser->save(&output, atoms);
Note: See TracChangeset for help on using the changeset viewer.