def __init__(self): BaseController.__init__(self) self.flow_service = FlowService() self.logger = get_logger(__name__) editable_entities = [dict(link='/spatial/stimulus/region/step_1_submit/1/1', title='Region Stimulus', subsection='regionstim', description='Create a new Stimulus on Region level'), dict(link='/spatial/stimulus/surface/step_1_submit/1/1', title='Surface Stimulus', subsection='surfacestim', description='Create a new Stimulus on Surface level')] self.submenu_list = editable_entities
def __init__(self): BaseController.__init__(self) self.flow_service = FlowService() self.logger = get_logger(__name__) editable_entities = [ dict(link='/spatial/stimulus/region/step_1_submit/1/1', title='Region Stimulus', subsection='regionstim', description='Create a new Stimulus on Region level'), dict(link='/spatial/stimulus/surface/step_1_submit/1/1', title='Surface Stimulus', subsection='surfacestim', description='Create a new Stimulus on Surface level') ] self.submenu_list = editable_entities
def __init__(self): BaseController.__init__(self) self.context = SelectedAdapterContext() self.files_helper = FilesHelper() self.operation_services = OperationService() self.simulator_controller = SimulatorController() analyze_category, groups = self.algorithm_service.get_analyze_groups() adapters_list = [] for adapter_group in groups: if len(adapter_group.children) > 1: ids = [str(child.id) for child in adapter_group.children] ids = ','.join(ids) adapter_link = '/flow/show_group_of_algorithms/' + str(analyze_category.id) + "/" + ids else: adapter_link = self.get_url_adapter(analyze_category.id, adapter_group.children[0].id) adapters_list.append({common.KEY_TITLE: adapter_group.name, 'link': adapter_link, 'description': adapter_group.description, 'subsection': adapter_group.children[0].subsection_name}) self.analyze_adapters = adapters_list
def __init__(self): BaseController.__init__(self) self.project_service = ProjectService()
def __init__(self): BaseController.__init__(self) self.version_info = None
def __init__(self): BaseController.__init__(self) self.context = SelectedAdapterContext() self.files_helper = FilesHelper()
def __init__(self): BaseController.__init__(self) self.config = HelpConfig()
def __init__(self): BaseController.__init__(self) self.config = HelpConfig()
def __init__(self): BaseController.__init__(self) self.version_info = None
def __init__(self): BaseController.__init__(self)
def __init__(self): BaseController.__init__(self) self.context = SelectedAdapterContext() self.files_helper = FilesHelper()
def __init__(self): BaseController.__init__(self) self.context = SelectedAdapterContext() self.files_helper = FilesHelper() self.operation_services = OperationService()
def __init__(self): BaseController.__init__(self)
def __init__(self): BaseController.__init__(self) self.project_service = ProjectService()