def __init__(self):
     BurstBaseController.__init__(self)
     self.available_models = get_ui_name_to_model()
     self.available_integrators = get_ui_name_to_integrator_dict()
     self.cache = SessionCache()
     # Work around a numexpr thread safety issue. See TVB-1639.
     self.traj_lock = threading.Lock()
 def __init__(self):
     BurstBaseController.__init__(self)
     self.available_models = get_traited_subclasses(models.Model)
     self.available_integrators = get_traited_subclasses(integrators.Integrator)
     self.cache = SessionCache()
     # Work around a numexpr thread safety issue. See TVB-1639.
     self.traj_lock = threading.Lock()
 def __init__(self):
     BurstBaseController.__init__(self)
     self.available_models = models.Model.get_known_subclasses()
     self.available_integrators = integrators.Integrator.get_known_subclasses(
     )
     self.cache = SessionCache()
     # Work around a numexpr thread safety issue. See TVB-1639.
     self.traj_lock = threading.Lock()
Example #4
0
    def __init__(self):
        BurstBaseController.__init__(self)
        self.burst_service = BurstService()
        self.workflow_service = WorkflowService()
        self.context = SelectedAdapterContext()

        ## Cache simulator Tree and Algorithm for performance issues.
        self.cached_simulator_algorithm = self.flow_service.get_algorithm_by_module_and_class(SIMULATOR_MODULE,
                                                                                              SIMULATOR_CLASS)
Example #5
0
    def __init__(self):
        BurstBaseController.__init__(self)
        self.burst_service = BurstService()
        self.workflow_service = WorkflowService()
        self.context = SelectedAdapterContext()

        ## Cache simulator Tree and Algorithm for performance issues.
        self.cached_simulator_algorithm = self.flow_service.get_algorithm_by_module_and_class(
            SIMULATOR_MODULE, SIMULATOR_CLASS)
Example #6
0
 def __init__(self):
     BurstBaseController.__init__(self)
     self.range_parameters = SimulatorRangeParameters()
     self.burst_service = BurstService()
     self.simulator_service = SimulatorService()
     self.cached_simulator_algorithm = self.algorithm_service.get_algorithm_by_module_and_class(
         IntrospectionRegistry.SIMULATOR_MODULE, IntrospectionRegistry.SIMULATOR_CLASS)
     self.context = SimulatorContext()
     self.monitors_handler = MonitorsWizardHandler()
Example #7
0
 def __init__(self):
     BurstBaseController.__init__(self)
     self.range_parameters = SimulatorRangeParameters()
     self.burst_service2 = BurstService2()
     self.simulator_service = SimulatorService()
     self.files_helper = FilesHelper()
     self.cached_simulator_algorithm = self.flow_service.get_algorithm_by_module_and_class(
         IntrospectionRegistry.SIMULATOR_MODULE,
         IntrospectionRegistry.SIMULATOR_CLASS)
 def fill_default_attributes(self, param):
     return BurstBaseController.fill_default_attributes(self, param, subsection='phaseplane')
 def fill_default_attributes(self, param):
     return BurstBaseController.fill_default_attributes(
         self, param, subsection='phaseplane')
Example #10
0
 def __init__(self):
     BurstBaseController.__init__(self)
     self.cache = SessionCache()
     # Work around a numexpr thread safety issue. See TVB-1639.
     self.traj_lock = threading.Lock()