Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database test #33

Merged
merged 5 commits into from
Mar 31, 2014
Merged

Conversation

nyee
Copy link
Contributor

@nyee nyee commented Mar 31, 2014

Includes new test for database and some corrections to families I've been making using this new function.

nyee added 5 commits March 31, 2014 15:58
Running the function EvaluateKinetics.py will use the new checkWellFormed
database and make an output file called DatabaseWellFormedSummary.txt in
the RMG-database folder
Another check that needs to be done is if each group is unique. I have
added lines for output of that from checkWellFormed
Many of the adj lists in the rules did not match that of the groups. In
this family, all the groups were always more general than the rules
version, so I've changed the rule's adjList to be the same as the groups

This error was found using the checkWellFormed function
Some children were labelled with a "C" atom when the parent had a "Cs"
atom causing a discrepency. Probably harmless, but it's better to be
consistent
Errors found by checkWellFormed (and a few stumbled while making manual
corrections).

In rules.py
- O2_birad named wrong, should be O2b
-XH_Rrad_birad has been updated to a logic Or at some point, but not in
the top most node
-Same with Y_rad_birad_trirad_quadrad

In groups.py
-Deleted group N3_atom_quartet, which was an accidental duplicate group
-deleted N5dd/H_d_Rrad, which was an accidental duplicate group
-Changed atom type on N5d/H_d_Rrad, which was a typo or mistake from
recent merge
-Moved C_rad/H/O2 and C_rad/H/CsO appear to be placed under the wrong
parent. They have been moved from under C_rad/H/NonDeN to under
C_rad/H/NonDeO.
-Changed Y_rad adj list, it used to be defined R-R* for some reason, but
now I've made it just R*. This clears up several children errors.
-Added H_rad to LogicOr of Y_rad_birad_trirad_quadrad. That one seems
important.
-Made group XH_Rrad more general by allowing single or double bonds. So
that XH_d_Rrad is a child
-Many groups do not include an N atom as possible atoms, restricting
descending down to certain children. An N atom has been added to the
following groups: O_Rrad, COpri_Rrad, C/H/DeDe_Rrad, C_rad/H/OneDe,
C/H2/Nd_Rrad, Cmethyl_Rrad, C/H/NdDe_Rrad, Cdpri_Rrad, C/H2/De_Rrad,
C/H/NdNd_Rrad, Cpri_Rrad, Csec_Rrad
-Changed Ct_rad/Ct atom one from C to Ct so it is proper child
-Changed an monoradical atom type from R to R!H in NH_s_Rrad, which must
be true by definition. Also made same change for all children
-For groups N3s/H/NonDe_s_Rrad and N3s/H/Deloc_s_Rrad, changed an atom
from N to R!H based on name and consulting the creator bbuessar
connie added a commit that referenced this pull request Mar 31, 2014
@connie connie merged commit 2392a1c into ReactionMechanismGenerator:master Mar 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants