-
Notifications
You must be signed in to change notification settings - Fork 233
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
Conversation
rmgpy/data/kinetics/family.py
Outdated
@@ -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]) |
There was a problem hiding this comment.
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 Report
@@ 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
Continue to review full report at Codecov.
|
35a320e
to
e050d78
Compare
Generate resonance structures before calculating thermo for tree generation training sets and add SABIC_aromatics to the thermo libraries used during tree generation.