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


Python ProjectManager.status方法代码示例

本文整理汇总了Python中ucl.physiol.neuroconstruct.project.ProjectManager.status方法的典型用法代码示例。如果您正苦于以下问题:Python ProjectManager.status方法的具体用法?Python ProjectManager.status怎么用?Python ProjectManager.status使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ucl.physiol.neuroconstruct.project.ProjectManager的用法示例。


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

示例1: load_project

# 需要导入模块: from ucl.physiol.neuroconstruct.project import ProjectManager [as 别名]
# 或者: from ucl.physiol.neuroconstruct.project.ProjectManager import status [as 别名]
 def load_project(self, fname):
     file = File(fname)
     print 'Loading project file: ', file.getAbsolutePath()
     pm = ProjectManager()
     project = pm.loadProject(file)
     print pm.status()
     return project
开发者ID:OpenSourceBrain,项目名称:korngreen-pyramidal,代码行数:9,代码来源:create_nc_cell.py

示例2: quit

# 需要导入模块: from ucl.physiol.neuroconstruct.project import ProjectManager [as 别名]
# 或者: from ucl.physiol.neuroconstruct.project.ProjectManager import status [as 别名]
#
#   Author: Padraig Gleeson
#
#   This file has been developed as part of the neuroConstruct project
#   This work has been funded by the Medical Research Council and the
#   Wellcome Trust
#
#

try:
	from java.io import File
	from java.lang import System
except ImportError:
	print "Note: this file should be run using ..\\nC.bat -python XXX.py' or './nC.sh -python XXX.py'"
	print "See http://www.neuroconstruct.org/docs/python.html for more details"
	quit()
	

from ucl.physiol.neuroconstruct.project import ProjectManager

file = File("../nCexamples/Ex1_Simple/Ex1_Simple.ncx")
print 'Loading project file: ', file.getAbsolutePath()

pm = ProjectManager()
myProject = pm.loadProject(file)

print pm.status()

#  Remove this line to remain in interactive mode
System.exit(0)
开发者ID:pgleeson,项目名称:TempRepo2,代码行数:32,代码来源:Ex1_Simple.py


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