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

Test C Decode fails with error #807

Closed
BryanRumsey opened this issue May 24, 2022 · 0 comments · Fixed by #811 or #789
Closed

Test C Decode fails with error #807

BryanRumsey opened this issue May 24, 2022 · 0 comments · Fixed by #811 or #789
Assignees
Labels
bug Something isn't working ✔️​ Issue / PR has been resolved
Milestone

Comments

@BryanRumsey
Copy link
Contributor

Error Traceback

test_c_decode.TestCDecode.test_run_output [Processing simulation output for each solver with different trajectory sizes] (number_of_trajectories=3, solver=<gillespy2.solvers.cpp.ssa_c_solver.SSACSolver object at 0x7f2e72086df0>) Failed: 'SSACSolver' object is not callable
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 582, in subTest
    yield
  File "/home/mdip/Projects/GillesPy2/test/test_c_decode.py", line 32, in test_run_output
    solver = solver(model=self.model)
TypeError: 'SSACSolver' object is not callable

Cause:

  • Test_run_output is attempting to instantiate an already instantiated solver.
@BryanRumsey BryanRumsey added bug Something isn't working ✔️​ Issue / PR has been resolved labels May 24, 2022
@BryanRumsey BryanRumsey added this to the 1.6.10 milestone May 24, 2022
@BryanRumsey BryanRumsey self-assigned this May 24, 2022
@BryanRumsey BryanRumsey linked a pull request May 24, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ✔️​ Issue / PR has been resolved
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant