Conversation
mliu49
reviewed
Dec 12, 2019
rmgpy/data/kinetics/family.py
Outdated
| 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]) |
Contributor
There was a problem hiding this comment.
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
mliu49
approved these changes
Dec 14, 2019
This was referenced Dec 16, 2019
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generate resonance structures before calculating thermo for tree generation training sets and add SABIC_aromatics to the thermo libraries used during tree generation.