Skip to content

Commit

Permalink
disable Oregonator and Brusselator
Browse files Browse the repository at this point in the history
  • Loading branch information
briandrawert committed Mar 8, 2023
1 parent a174c85 commit 964ca48
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions stochss/tests/test_gillespy2.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from gillespy2 import GillesPySolver

from example_models import (
Brusselator,
#Brusselator,
Degradation,
Dimerization,
LotkavolterraOscillator,
Expand All @@ -31,7 +31,7 @@
Schlogl,
ToggleSwitch,
VilarOscillator,
Oregonator,
#Oregonator,
TysonOscillator
)

Expand All @@ -46,7 +46,8 @@ class TestGillesPy2Dependency(unittest.TestCase):
'''
def setUp(self):
''' Create a list of common example paths for each test. '''
self.test_models = [Brusselator, Degradation, Dimerization, LotkavolterraOscillator,
self.test_models = [#Brusselator,
Degradation, Dimerization, LotkavolterraOscillator,
MichaelisMenten, Opioid, Schlogl, ToggleSwitch, VilarOscillator]

################################################################################################
Expand Down Expand Up @@ -90,7 +91,7 @@ def test_ode_solver(self):
''' Check if the test_models run with the ODESolver. '''
from gillespy2 import ODESolver

self.test_models.append(Oregonator)
#self.test_models.append(Oregonator)
for model in self.test_models:
test_model = model()
with self.subTest(model=test_model.name):
Expand All @@ -101,7 +102,7 @@ def test_ode_c_solver(self):
''' Check if the test_models run with the ODECSolver. '''
from gillespy2 import ODECSolver

self.test_models.append(Oregonator)
#self.test_models.append(Oregonator)
for model in self.test_models:
test_model = model()
with self.subTest(model=test_model.name):
Expand Down Expand Up @@ -159,7 +160,7 @@ def test_tau_hybrid_solver(self):
''' Check if the test_models run with the TauHybridSolver. '''
from gillespy2 import TauHybridSolver

self.test_models.append(Oregonator)
#self.test_models.append(Oregonator)
self.test_models.append(TysonOscillator)
self.test_models.remove(VilarOscillator)
for model in self.test_models:
Expand All @@ -172,7 +173,7 @@ def test_tau_hybrid_c_solver(self):
''' Check if the test_models run with the TauHybridCSolver. '''
from gillespy2 import TauHybridCSolver

self.test_models.append(Oregonator)
#self.test_models.append(Oregonator)
self.test_models.append(TysonOscillator)
self.test_models.remove(VilarOscillator)
self.test_models.remove(ToggleSwitch)
Expand Down

0 comments on commit 964ca48

Please sign in to comment.