示例#1
0
文件: Test.py 项目: pgleeson/TestArea
sp1 = Species("k")
sp1.setProperty("e", "-77.7")
grps1 = Vector()
grps1.add(Section.ALL)
spVg.put(sp1, grps1)

sp2 = Species("na")
sp2.setProperty("e", "55.5")
grps2 = Vector()
grps2.add(Section.ALL)
spVg.put(sp2, grps2)

print "Spec vs groups: " + str(spVg)

print CellTopologyHelper.printDetails(cell, myProject)

simConfig = myProject.simConfigInfo.getSimConfig(simConfig)

myProject.markProjectAsEdited()
print "Saving project..."
myProject.saveProject()
print "Project saved"

exit()
simConfig.setSimDuration(simDuration)

pm.doGenerate(simConfig.getName(), neuroConstructSeed)

while pm.isGenerating():
    print "Waiting for the project to be generated with Simulation Configuration: " + str(simConfig)