• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python HasWorkingModel.HasWorkingModel类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: load

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

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

		if self.isModelLoaded():
			self.loadSubmodels()
			self.loadProjectModels(request)
			self.loadConversionFactors()
			self.loadObjects()
			self.loadSubstitutions()
开发者ID:msreis,项目名称:SigNetSim,代码行数:11,代码来源:ModelSubmodelsView.py


示例17: __init__

	def __init__(self, **kwargs):

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

		self.listOfParameters = None
		self.listOfReactions = None
		self.listOfUnits = None

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


示例18: __init__

	def __init__(self, **kwargs):

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

		self.listOfUnits = None
		self.listOfParameters = None
		self.sbmlLevels = None
		self.modelHistory = None
		self.modelPublication = None
		self.form = ModelMiscForm(self)
开发者ID:msreis,项目名称:SigNetSim,代码行数:12,代码来源:ModelMiscView.py


示例19: load

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

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

		if len(args) > 0:
			self.setModel(request, int(args[0]))

		if self.isModelLoaded():
			self.form.load()
			self.modelHistory = self.getModel().modelHistory
			if len(self.getModel().getAnnotation().getIsDescribedBy()) > 0:
				self.modelPublication = self.getModel().getAnnotation().getIsDescribedBy()[0]
开发者ID:msreis,项目名称:SigNetSim,代码行数:13,代码来源:ModelAnnotationsView.py


示例20: load

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

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

		if len(args) > 0:
			self.setModel(request, int(args[0]))

		if self.isModelLoaded():
			self.listOfUnits = self.getModel().listOfUnitDefinitions
			self.listOfParameters = self.getModel().listOfParameters
			self.sbmlLevels = self.getModel().getSbmlLevels()
			self.form.load()
开发者ID:msreis,项目名称:SigNetSim,代码行数:13,代码来源:ModelMiscView.py



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python models.Signup类代码示例发布时间:2022-05-27
下一篇:
Python json.JsonRequest类代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap