3
3
netpyne .__gui__ = False
4
4
from netpyne import specs , sim
5
5
import os
6
- from neuron_ui .netpyne_model_interpreter import NetPyNEModelInterpreter
6
+ from netpyne_ui .netpyne_model_interpreter import NetPyNEModelInterpreter
7
7
import neuron
8
8
import subprocess
9
9
@@ -60,42 +60,42 @@ def test_tut1(self):
60
60
print "------------------------------------"
61
61
print "Tutorial 1 Instantiation:"
62
62
print "------------------------------------"
63
- from neuron_ui .tests .tut1 import netParams , simConfig
63
+ from netpyne_ui .tests .tut1 import netParams , simConfig
64
64
self .getGeppettoModel (netParams , simConfig )
65
65
66
66
def test_tut1_simulation (self ):
67
67
print "------------------------------------"
68
68
print "Tutorial 1 Simulation:"
69
69
print "------------------------------------"
70
- from neuron_ui .tests .tut1 import netParams , simConfig
70
+ from netpyne_ui .tests .tut1 import netParams , simConfig
71
71
self .updateGeppettoModel (netParams , simConfig )
72
72
73
73
def test_tut2 (self ):
74
74
print "------------------------------------"
75
75
print "Tutorial 2 Instantiation:"
76
76
print "------------------------------------"
77
- from neuron_ui .tests .tut2 import netParams , simConfig
77
+ from netpyne_ui .tests .tut2 import netParams , simConfig
78
78
self .getGeppettoModel (netParams , simConfig )
79
79
80
80
def test_tut2_simulation (self ):
81
81
print "------------------------------------"
82
82
print "Tutorial 2 Simulation:"
83
83
print "------------------------------------"
84
- from neuron_ui .tests .tut2 import netParams , simConfig
84
+ from netpyne_ui .tests .tut2 import netParams , simConfig
85
85
self .updateGeppettoModel (netParams , simConfig )
86
86
87
87
def test_tut3 (self ):
88
88
print "------------------------------------"
89
89
print "Tutorial 3 Instantiation:"
90
90
print "------------------------------------"
91
- from neuron_ui .tests .tut3 import netParams , simConfig
91
+ from netpyne_ui .tests .tut3 import netParams , simConfig
92
92
self .getGeppettoModel (netParams , simConfig )
93
93
94
94
def test_tut3_simulation (self ):
95
95
print "------------------------------------"
96
96
print "Tutorial 3 Simulation:"
97
97
print "------------------------------------"
98
- from neuron_ui .tests .tut3 import netParams , simConfig
98
+ from netpyne_ui .tests .tut3 import netParams , simConfig
99
99
self .updateGeppettoModel (netParams , simConfig )
100
100
101
101
def test_tut4 (self ):
@@ -110,7 +110,7 @@ def test_tut4(self):
110
110
os .chdir (owd )
111
111
neuron .load_mechanisms (modelpath )
112
112
113
- from neuron_ui .tests .tut4 .tut4 import netParams , simConfig
113
+ from netpyne_ui .tests .tut4 .tut4 import netParams , simConfig
114
114
self .getGeppettoModel (netParams , simConfig )
115
115
116
116
def test_tut4_simulation (self ):
@@ -125,35 +125,35 @@ def test_tut4_simulation(self):
125
125
os .chdir (owd )
126
126
neuron .load_mechanisms (modelpath )
127
127
128
- from neuron_ui .tests .tut4 .tut4 import netParams , simConfig
128
+ from netpyne_ui .tests .tut4 .tut4 import netParams , simConfig
129
129
self .updateGeppettoModel (netParams , simConfig )
130
130
131
131
def test_tut5 (self ):
132
132
print "------------------------------------"
133
133
print "Tutorial 5 Instantiation:"
134
134
print "------------------------------------"
135
- from neuron_ui .tests .tut5 import netParams , simConfig
135
+ from netpyne_ui .tests .tut5 import netParams , simConfig
136
136
self .getGeppettoModel (netParams , simConfig )
137
137
138
138
def test_tut5_simulation (self ):
139
139
print "------------------------------------"
140
140
print "Tutorial 5 Simulation:"
141
141
print "------------------------------------"
142
- from neuron_ui .tests .tut5 import netParams , simConfig
142
+ from netpyne_ui .tests .tut5 import netParams , simConfig
143
143
self .updateGeppettoModel (netParams , simConfig )
144
144
145
145
def test_tut6 (self ):
146
146
print "------------------------------------"
147
147
print "Tutorial 6 Instantiation:"
148
148
print "------------------------------------"
149
- from neuron_ui .tests .tut6 import netParams , simConfig
149
+ from netpyne_ui .tests .tut6 import netParams , simConfig
150
150
self .getGeppettoModel (netParams , simConfig )
151
151
152
152
def test_tut6_simulation (self ):
153
153
print "------------------------------------"
154
154
print "Tutorial 6 Simulation:"
155
155
print "------------------------------------"
156
- from neuron_ui .tests .tut6 import netParams , simConfig
156
+ from netpyne_ui .tests .tut6 import netParams , simConfig
157
157
self .updateGeppettoModel (netParams , simConfig )
158
158
159
159
def test_M1detailed (self ):
@@ -169,7 +169,7 @@ def test_M1detailed(self):
169
169
neuron .load_mechanisms (modpath )
170
170
os .chdir (modelpath )
171
171
172
- from neuron_ui .tests .M1detailed .init import netParams , cfg
172
+ from netpyne_ui .tests .M1detailed .init import netParams , cfg
173
173
self .getGeppettoModel (netParams , cfg )
174
174
175
175
os .chdir (owd )
0 commit comments