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

Tree generation improvements #1848

Merged
merged 4 commits into from
Dec 14, 2019
Merged

Tree generation improvements #1848

merged 4 commits into from
Dec 14, 2019

Conversation

mjohnson541
Copy link
Contributor

Generate resonance structures before calculating thermo for tree generation training sets and add SABIC_aromatics to the thermo libraries used during tree generation.

@@ -3798,11 +3798,15 @@ def fix_labels_mol(mol, root_labels):
if estimate_thermo:
for j, react in enumerate(r.item.reactants):
if rxns[i].reactants[j].thermo is None:
rxns[i].reactants[j].thermo = tdb.get_thermo_data(react)
therm_spc = deepcopy(rxns[i].reactants[j])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it matter if you use react or rxns[i].reactants[j]? If not, could you just loop over rxns[i].reactants?

@codecov
Copy link

codecov bot commented Dec 12, 2019

Codecov Report

Merging #1848 into master will decrease coverage by <.01%.
The diff coverage is 30%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1848      +/-   ##
==========================================
- Coverage   44.23%   44.22%   -0.01%     
==========================================
  Files          83       83              
  Lines       21539    21547       +8     
  Branches     5645     5646       +1     
==========================================
+ Hits         9527     9530       +3     
+ Misses      10956    10946      -10     
- Partials     1056     1071      +15
Impacted Files Coverage Δ
rmgpy/data/kinetics/family.py 49.02% <30%> (-0.04%) ⬇️
rmgpy/data/statmech.py 42.2% <0%> (ø) ⬆️
rmgpy/rmg/pdep.py 12.21% <0%> (ø) ⬆️
arkane/kinetics.py 12.14% <0%> (ø) ⬆️
rmgpy/statmech/ndTorsions.py 59.78% <0%> (ø) ⬆️
rmgpy/yml.py 15.71% <0%> (ø) ⬆️
arkane/sensitivity.py 10% <0%> (ø) ⬆️
rmgpy/data/kinetics/database.py 50.61% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 150aec0...c1973f0. Read the comment docs.

@mliu49 mliu49 merged commit fe25b90 into master Dec 14, 2019
@mliu49 mliu49 deleted the tree_improvements branch December 14, 2019 02:22
This was referenced Dec 16, 2019
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.

2 participants