@@ -145,62 +145,208 @@ const tutorial2_steps = [
145145 </ div >
146146 )
147147 } ,
148+ // New cell import
148149 {
149- target : '#importCellParamsFileName ' ,
150+ target : '#selectCellButton ' ,
150151 title : (
151152 < div > Cell Creation</ div >
152153 ) ,
153154 content : (
154155 < div >
155- < p > Click on the folder icon to select the template.</ p >
156+ < p > We will create first a new cell using a cell template.</ p >
157+ < p > Click on the "+" to create a new cell.</ p >
156158 </ div >
157159 )
158160 } ,
159161 {
160- target : '#TreeContainerCutting_component ' ,
162+ target : '#fromTemplateCellTemplate ' ,
161163 title : (
162164 < div > Cell Creation</ div >
163165 ) ,
164166 content : (
165167 < div >
166- < p > Select "NetPyNE tutorials > netpyne_workspace-master > cells > SRI.hoc". </ p >
168+ < p > Select "Import cell template from file..." </ p >
167169 </ div >
168170 )
169171 } ,
172+ // Template cell parameter modification
170173 {
171- target : '#importCellParamsModFolder ' ,
174+ target : '#importCellParamsRuleLabel ' ,
172175 title : (
173176 < div > Cell Creation</ div >
174177 ) ,
175178 content : (
176179 < div >
177- < p > Click on the folder icon to select the folder containing the "mod" file. </ p >
180+ < p > Change the cell rule label to "SRI" </ p >
178181 </ div >
179182 )
180183 } ,
181184 {
182- target : '#TreeContainerCutting_component ' ,
185+ target : '#importCellParamsCellName ' ,
183186 title : (
184187 < div > Cell Creation</ div >
185188 ) ,
186189 content : (
187190 < div >
188- < p > Select, as for the last created cell:</ p >
189- < p > "NetPyNE tutorials > netpyne_workspace-master > mod".</ p >
191+ < p > Change the template/cell name to "SRI"</ p >
192+ </ div >
193+ )
194+ } ,
195+ {
196+ target : '.fa-folder' ,
197+ title : (
198+ < div > Cell Creation</ div >
199+ ) ,
200+ content : (
201+ < div >
202+ < p > Click on the folder icon to select the template:</ p >
203+ < p > NetPyNE-UI > workspace</ p >
204+ < p > > cells > PTcells.hoc</ p >
205+ </ div >
206+ )
207+ } ,
208+ {
209+ target : '#browserAccept' ,
210+ content : (
211+ < div >
212+ < p > Select "NetPyNE-UI > workspace > cells > SRI.hoc"</ p >
213+ < p > and click on "Select"</ p >
214+ </ div >
215+ )
216+ } ,
217+ {
218+ target : '.fa-folder' ,
219+ title : (
220+ < div > Cell Creation</ div >
221+ ) ,
222+ content : (
223+ < div >
224+ < p > Click on the folder icon to select the folder containing the "mod" file:</ p >
225+ < p > "NetPyNE-UI > workspace > mod</ p >
226+ </ div >
227+ ) ,
228+ collectionIndex : 1
229+ } ,
230+ {
231+ target : '#browserAccept' ,
232+ content : (
233+ < div >
234+ < p > Select "NetPyNE-UI > workspace > mod"</ p >
235+ < p > and click on "Select"</ p >
236+ </ div >
237+ )
238+ } ,
239+ {
240+ target : '#importCellParamsCompileMod' ,
241+ title : (
242+ < div > Cell Creation</ div >
243+ ) ,
244+ content : (
245+ < div >
246+ < p > Activate the compilation of mod files</ p >
190247 </ div >
191248 )
192249 } ,
250+ {
251+ target : '#appBarPerformActionButton' ,
252+ title : (
253+ < div > Cell Creation</ div >
254+ ) ,
255+ content : (
256+ < div >
257+ < p > Click on "Import" to import the cell template.</ p >
258+ </ div >
259+ )
260+ } ,
261+ // New cell population
193262 {
194263 target : 'img[src*="popParams"]' ,
195264 title : (
196- < div > Population Update</ div >
265+ < div > Population Creation</ div >
266+ ) ,
267+ content : (
268+ < div >
269+ < p > Click on "Populations" to create new cells populations.</ p >
270+ </ div >
271+ )
272+ } , //newPopulationButton
273+ {
274+ target : '#newPopulationButton' ,
275+ title : (
276+ < div > Population Creation</ div >
277+ ) ,
278+ content : (
279+ < div >
280+ < p > Create a new population for PTcell</ p >
281+ </ div >
282+ )
283+ } ,
284+ {
285+ target : 'div.MuiBox-root.scrollbar.scrollchild > div.MuiBox-root > div' ,
286+ title : (
287+ < div > Population Creation</ div >
288+ ) ,
289+ content : (
290+ < p > Change the population name to "E"</ p >
291+ )
292+ } ,
293+ {
294+ target : 'div[id^="netParamspopParams"][id$="cellType"]' ,
295+ title : (
296+ < div > Population Creation</ div >
297+ ) ,
298+ content : (
299+ < p > Select "PTcell"</ p >
300+ )
301+ } , //netParamspopParamsPopulation0numCells
302+ {
303+ target : 'input[id^="netParamspopParams"][id$="numCells"]' ,
304+ title : (
305+ < div > Population Creation</ div >
306+ ) ,
307+ content : (
308+ < p > Enter 2 as number of cells</ p >
309+ )
310+ } ,
311+ {
312+ target : '#newPopulationButton' ,
313+ title : (
314+ < div > Population Creation</ div >
197315 ) ,
198316 content : (
199317 < div >
200- < p > Click on "Populations" to change cells populations. </ p >
318+ < p > Create a new population for SRI </ p >
201319 </ div >
202320 )
203321 } ,
322+ {
323+ target : 'div.MuiBox-root.scrollbar.scrollchild > div.MuiBox-root > div' ,
324+ title : (
325+ < div > Population Creation</ div >
326+ ) ,
327+ content : (
328+ < p > Change the population name to "I"</ p >
329+ )
330+ } ,
331+ {
332+ target : 'div[id^="netParamspopParams"][id$="cellType"]' ,
333+ title : (
334+ < div > Population Creation</ div >
335+ ) ,
336+ content : (
337+ < p > Select "SRI"</ p >
338+ )
339+ } , //netParamspopParamsPopulation0numCells
340+ {
341+ target : 'input[id^="netParamspopParams"][id$="numCells"]' ,
342+ title : (
343+ < div > Population Creation</ div >
344+ ) ,
345+ content : (
346+ < p > Enter 2 as number of cells</ p >
347+ )
348+ } ,
349+ // Network creation
204350 {
205351 target : '.MuiGrid-item .MuiButton-root:nth-last-child(2)' ,
206352 title : (
0 commit comments