Commit 8d87f833 authored by DeLaVlag's avatar DeLaVlag

removed no changes

parent 0f6b93a9
......@@ -54,7 +54,6 @@ class Model(HasTraits):
_nvar = None # todo make this a prop len(state_variables)
number_of_modes = 1
cvar = None
stvar = None
state_variable_boundaries = None
def _build_observer(self):
......@@ -92,8 +91,6 @@ class Model(HasTraits):
"Configure base model."
for req_attr in 'nvar number_of_modes cvar'.split():
assert hasattr(self, req_attr)
if self.stvar is None:
self.stvar = self.cvar.copy()
super(Model, self).configure()
self.update_derived_parameters()
self._build_observer()
......@@ -196,4 +193,4 @@ class ModelNumbaDfun(Model):
@property
def spatial_param_reshape(self):
return -1,
return -1,
\ No newline at end of file
......@@ -37,6 +37,7 @@ Test suite for experimental OpenCL components.
import pytest
import numpy
from tvb.tests.library.base_testcase import BaseTestCase
try:
import pyopencl
......@@ -98,7 +99,7 @@ class TestModels():
self.validate(Linear(), CL_Linear(), CL_Linear.n_states)
def test_Epiletor(self):
from tvb.simulator.models.references.epileptor_overflow import Epileptor
from tvb.simulator.models.epileptor import Epileptor
from tvb.simulator._opencl.cl_models import CL_Epileptor
self.validate(Epileptor(), CL_Epileptor(), CL_Epileptor.n_states)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment