当前位置: 首页>>代码示例>>Python>>正文


Python HasWorkingModel.HasWorkingModel类代码示例

本文整理汇总了Python中signetsim.views.HasWorkingModel.HasWorkingModel的典型用法代码示例。如果您正苦于以下问题:Python HasWorkingModel类的具体用法?Python HasWorkingModel怎么用?Python HasWorkingModel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了HasWorkingModel类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: load

	def load(self, request, *args, **kwargs):

		HasErrorMessages.clearErrors(self)
		HasWorkingModel.load(self, request, *args, **kwargs)
		if self.isModelLoaded():
			self.listOfCompartments = self.getModel().listOfCompartments
			self.listOfUnits = self.getModel().listOfUnitDefinitions
开发者ID:msreis,项目名称:SigNetSim,代码行数:7,代码来源:ModelCompartmentsView.py

示例2: __init__

	def __init__(self, **kwargs):

		TemplateView.__init__(self, **kwargs)
		HasWorkingModel.__init__(self)

		self.listOfUnitDefinitions = None
		self.form = ModelUnitsForm(self)
开发者ID:msreis,项目名称:SigNetSim,代码行数:7,代码来源:ModelUnitsView.py

示例3: __init__

	def __init__(self, **kwargs):

		TemplateView.__init__(self, **kwargs)
		HasWorkingModel.__init__(self)

		self.optimization = None
		self.form = DataOptimizationForm(self)
开发者ID:msreis,项目名称:SigNetSim,代码行数:7,代码来源:DataOptimizationView.py

示例4: load

	def load(self, request, *args, **kwargs):
		HasWorkingModel.load(self, request, *args, **kwargs)

		self.listOfObjects = []
		for object in self.getModel().listOfSbmlObjects:
			if isinstance(object, Variable) and not object.isStoichiometry():
				self.listOfObjects.append(object)
		self.listOfSubmodels = self.getModel().listOfSubmodels
开发者ID:msreis,项目名称:SigNetSim,代码行数:8,代码来源:GetSubstitution.py

示例5: __init__

	def __init__(self, **kwargs):

		TemplateView.__init__(self, **kwargs)
		HasWorkingModel.__init__(self)

		self.listOfSpecies = None
		self.listOfReactions = None
		self.listOfCompartments = None
开发者ID:msreis,项目名称:SigNetSim,代码行数:8,代码来源:ModelOverviewView.py

示例6: load

	def load(self, request, *args, **kwargs):

		HasErrorMessages.clearErrors(self)
		HasWorkingModel.load(self, request, *args, **kwargs)

		if self.isModelLoaded():
			self.loadRules()
			self.loadGlobalVariables()
开发者ID:msreis,项目名称:SigNetSim,代码行数:8,代码来源:ModelRulesView.py

示例7: load

	def load(self, request, *args, **kwargs):

		HasWorkingModel.load(self, request, *args, **kwargs)

		if self.isModelLoaded():
			self.loadVariables()
			self.loadReactions()
			self.loadExperiments()
开发者ID:msreis,项目名称:SigNetSim,代码行数:8,代码来源:TimeSeriesSimulationView.py

示例8: load

	def load(self, request, *args, **kwargs):

		HasErrorMessages.clearErrors(self)
		HasWorkingModel.load(self, request, *args, **kwargs)
		if self.isModelLoaded():
			self.loadSpecies()
			self.loadCompartments()
			self.loadUnits()
开发者ID:msreis,项目名称:SigNetSim,代码行数:8,代码来源:ModelSpeciesView.py

示例9: load

	def load(self, request, *args, **kwargs):

		HasErrorMessages.clearErrors(self)
		HasWorkingModel.load(self, request, *args, **kwargs)

		if self.isModelLoaded():
			self.loadParameters()
			self.loadReactions()
			self.loadUnits()
开发者ID:msreis,项目名称:SigNetSim,代码行数:9,代码来源:ModelParametersView.py

示例10: __init__

	def __init__(self, **kwargs):

		TemplateView.__init__(self, **kwargs)
		HasErrorMessages.__init__(self)
		HasWorkingModel.__init__(self)

		self.modelHistory = None
		self.modelPublication = None
		self.form = ModelAnnotationsForm(self)
开发者ID:msreis,项目名称:SigNetSim,代码行数:9,代码来源:ModelAnnotationsView.py

示例11: __init__

	def __init__(self, **kwargs):

		TemplateView.__init__(self, **kwargs)
		HasErrorMessages.__init__(self)
		HasWorkingModel.__init__(self)

		self.listOfVariables = None
		self.listOfEvents = None
		self.form = ModelEventsForm(self)
开发者ID:msreis,项目名称:SigNetSim,代码行数:9,代码来源:ModelEventsView.py

示例12: __init__

	def __init__(self, **kwargs):

		TemplateView.__init__(self, **kwargs)
		HasWorkingModel.__init__(self)
		HasErrorMessages.__init__(self)

		self.listOfCompartments = None
		self.listOfUnits = None
		self.form = ModelCompartmentsForm(self)
开发者ID:msreis,项目名称:SigNetSim,代码行数:9,代码来源:ModelCompartmentsView.py

示例13: post

	def post(self, request, *args, **kwargs):

		HasWorkingModel.load(self, request, *args, **kwargs)

		if "action" in request.POST:
			if self.isChooseModel(request):
				# Already done !
				pass

		return TemplateView.get(self, request, *args, **kwargs)
开发者ID:msreis,项目名称:SigNetSim,代码行数:10,代码来源:ModelOptimizationView.py

示例14: load

	def load(self, request, *args, **kwargs):
		HasWorkingModel.load(self, request, *args, **kwargs)

		for variable in self.getModel().listOfVariables:
			if ((variable.isParameter() and variable.isGlobal())
				or variable.isSpecies()
				or variable.isCompartment()
				or variable.isStoichiometry()):

				self.listOfVariables.append(variable)
开发者ID:msreis,项目名称:SigNetSim,代码行数:10,代码来源:GetEvent.py

示例15: __init__

	def __init__(self, **kwargs):

		TemplateView.__init__(self, **kwargs)
		HasWorkingModel.__init__(self)
		HasErrorMessages.__init__(self)

		self.listOfConstants = None
		self.listComputations = None
		self.computation = None

		self.form = AnalyseBifurcationsForm(self)
开发者ID:msreis,项目名称:SigNetSim,代码行数:11,代码来源:AnalyseBifurcationView.py


注:本文中的signetsim.views.HasWorkingModel.HasWorkingModel类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。