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 gen SubstitutionS #495

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Tree gen SubstitutionS #495

wants to merge 2 commits into from

Conversation

ChrisBNEU
Copy link
Contributor

Autogenerated tree for SubstitutionS family. DB tests pass for first commit where we change the logic nodes and setup the reverse map. fails after the tree is generated, with the following error:

======================================================================
ERROR: Kinetics family SubstitutionS: Entry is accessible?
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/blais.ch/anaconda3/envs/rmg_env/lib/python3.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/blais.ch/_01_code/RMG_env_1/RMG-Py/testing/databaseTest.py", line 149, in <lambda>
    test = lambda x: self.kinetics_check_sample_descends_to_group(family_name)
  File "/Users/blais.ch/_01_code/RMG_env_1/RMG-Py/testing/databaseTest.py", line 1290, in kinetics_check_sample_descends_to_group
    raise ValueError("Error Occurred")
ValueError: Error Occurred

======================================================================
ERROR: Kinetics family SubstitutionS: Recipe applies to group entry?
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/blais.ch/_01_code/RMG_env_1/RMG-Py/testing/databaseTest.py", line 1354, in kinetics_check_sample_can_react
    sample_molecule = entry.item.make_sample_molecule()
  File "rmgpy/molecule/group.py", line 2632, in rmgpy.molecule.group.Group.make_sample_molecule
    def make_sample_molecule(self):
  File "rmgpy/molecule/group.py", line 2723, in rmgpy.molecule.group.Group.make_sample_molecule
    raise UnexpectedChargeError(graph=new_molecule)
rmgpy.exceptions.UnexpectedChargeError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/blais.ch/anaconda3/envs/rmg_env/lib/python3.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/blais.ch/_01_code/RMG_env_1/RMG-Py/testing/databaseTest.py", line 155, in <lambda>
    test = lambda x: self.kinetics_check_sample_can_react(family_name)
  File "/Users/blais.ch/_01_code/RMG_env_1/RMG-Py/testing/databaseTest.py", line 1364, in kinetics_check_sample_can_react
    tst3.append((False, """
NameError: name 'tst3' is not defined

----------------------------------------------------------------------
Ran 1515 tests in 281.878s

FAILED (errors=2)
make: *** [test-database] Error 1

@ChrisBNEU ChrisBNEU changed the title Substitution s tree gen Tree gen SubstitutionS Jun 14, 2021
@kspieks kspieks self-requested a review June 21, 2021 15:21
Copy link
Contributor

@kspieks kspieks left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Changes look good
@mjohnson541 should be able to merge this :)

@ChrisBNEU ChrisBNEU changed the base branch from master to main January 11, 2022 17:04
@ChrisBNEU
Copy link
Contributor Author

rebased for hack-a-thon

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