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

Fix pressure dependent network generation in RMG jobs #1658

Merged
merged 7 commits into from Jul 21, 2019
Merged

Commits on Jul 20, 2019

  1. Refactor reaction generation and processing for reactEdge phase

    Motivation:
    - processNewReactions requires a newSpecies argument which was not
    being properly identified after multiprocessing changes in #1459
    
    Background:
    - The newSpecies argument is retained from early RMG when reactions
    were generated right after adding a new species to the core.
    - Hence, newSpecies referred to the newly added core species which
    was used to generate the new reactions.
    - The overall model generation algorithm has since changed, so
    identifying newSpecies is not as straightforward.
    - The multiprocessing PR changed newSpecies to be any core species,
    missing the original purpose of identifying the species from which
    the reaction was generated.
    
    Changes:
    - Use the species tuples created during reaction generation to
    keep track of which species were used to generate the reaction
    - Update unit tests which are affected by the changes in return values
    from react and react_all
    mliu49 committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    4b4580d View commit details
    Browse the repository at this point in the history
  2. Update docstrings in rmgpy.rmg.react module

    Also rename the spc_tuples arg in the react method to spc_fam_tuples
    to reflect updated usage.
    mliu49 committed Jul 20, 2019
    2 Configuration menu
    Copy the full SHA
    075da23 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2092de6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e61a9f View commit details
    Browse the repository at this point in the history
  5. Reorganize imports in rmgpy.rmg.model

    Sort alphabetically and also remove relative imports
    mliu49 committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    fe6d118 View commit details
    Browse the repository at this point in the history
  6. Revert "Update arkane/explorerTest.py."

    This reverts commit d59da68.
    
    Lesson to be learned: If a unit test fails, make sure you
    understand why before changing the correct answer...
    mliu49 committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    687ce85 View commit details
    Browse the repository at this point in the history
  7. Add test class for CoreEdgeReactionModel.enlarge

    With tests for pdep network generation
    mliu49 committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    f968be8 View commit details
    Browse the repository at this point in the history