Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions webapp/components/topbar/dialogs/ImportCellParams.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ class ImportCellParams extends React.Component {
>
<Box mb={1}>
<TextField
id="importCellParamsRuleLabel"
variant="filled"
value={label}
fullWidth
Expand All @@ -124,6 +125,7 @@ class ImportCellParams extends React.Component {

<NetPyNEField id="netParams.importCellParams.cellName" className={classes.textField}>
<TextField
id="importCellParamsCellName"
variant="filled"
fullWidth
value={cellName}
Expand Down Expand Up @@ -200,6 +202,7 @@ class ImportCellParams extends React.Component {
<Grid item>
<NetPyNEField id="netParams.importCellParams.compileMod">
<Checkbox
id="importCellParamsCompileMod"
fullWidth
noBackground
checked={compileMod}
Expand Down
245 changes: 214 additions & 31 deletions webapp/redux/reducers/data/tutorial2_steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,47 +23,84 @@ const tutorial2_steps = [
</div>
)
},
// Import cell values modification
{
target: '#importCellParamsFileName',
target: '#importCellParamsRuleLabel',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Change the cell rule label to "PTcell"</p>
</div>
)
},
{
target: '#importCellParamsCellName',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Change the template/cell name to "PTcell"</p>
</div>
)
},
{
target: '.fa-folder',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Click on the folder icon to select the template:</p>
<p> NetPyNE tutorials &gt; netpyne_workspace-master</p>
<p> NetPyNE-UI &gt; workspace</p>
<p> &gt; cells &gt; PTcells.hoc</p>
</div>
)
},
// {
// target: '#TreeContainerCutting_component',
// content: (
// <div>
// <p>Select "NetPyNE tutorials &gt; netpyne_workspace-master &gt; cells &gt; PTcells.hoc".</p>
// </div>
// )
// },
{
target: '#importCellParamsModFolder',
target: '#browserAccept',
content: (
<div>
<p>Select "NetPyNE-UI &gt; workspace &gt; cells &gt; PTcells.hoc"</p>
<p>and click on "Select"</p>
</div>
)
},
{
target: '.fa-folder',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Click on the folder icon to select the folder containing the "mod" file:</p>
<p>"NetPyNE tutorials &gt; netpyne_workspace-master &gt; mod</p>
<p>"NetPyNE-UI &gt; workspace &gt; mod</p>
</div>
),
collectionIndex: 1
},
{
target: '#browserAccept',
content: (
<div>
<p>Select "NetPyNE-UI &gt; workspace &gt; mod"</p>
<p>and click on "Select"</p>
</div>
)
},
{
target: '#importCellParamsCompileMod',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Activate the compilation of mod files</p>
</div>
)
},
// {
// target: '#TreeContainerCutting_component',
// content: (
// <div>
// <p>Select "NetPyNE tutorials &gt; netpyne_workspace-master &gt; mod".</p>
// </div>
// )
// },
{
target: '#appBarPerformActionButton',
title: (
Expand Down Expand Up @@ -108,62 +145,208 @@ const tutorial2_steps = [
</div>
)
},
// New cell import
{
target: '#selectCellButton',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>We will create first a new cell using a cell template.</p>
<p>Click on the "+" to create a new cell.</p>
</div>
)
},
{
target: '#fromTemplateCellTemplate',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Select "Import cell template from file..."</p>
</div>
)
},
// Template cell parameter modification
{
target: '#importCellParamsRuleLabel',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Change the cell rule label to "SRI"</p>
</div>
)
},
{
target: '#importCellParamsCellName',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Change the template/cell name to "SRI"</p>
</div>
)
},
{
target: '#importCellParamsFileName',
target: '.fa-folder',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Click on the folder icon to select the template.</p>
<p>Click on the folder icon to select the template:</p>
<p> NetPyNE-UI &gt; workspace</p>
<p> &gt; cells &gt; PTcells.hoc</p>
</div>
)
},
{
target: '#TreeContainerCutting_component',
target: '#browserAccept',
content: (
<div>
<p>Select "NetPyNE-UI &gt; workspace &gt; cells &gt; SRI.hoc"</p>
<p>and click on "Select"</p>
</div>
)
},
{
target: '.fa-folder',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Select "NetPyNE tutorials &gt; netpyne_workspace-master &gt; cells &gt; SRI.hoc".</p>
<p>Click on the folder icon to select the folder containing the "mod" file:</p>
<p>"NetPyNE-UI &gt; workspace &gt; mod</p>
</div>
),
collectionIndex: 1
},
{
target: '#browserAccept',
content: (
<div>
<p>Select "NetPyNE-UI &gt; workspace &gt; mod"</p>
<p>and click on "Select"</p>
</div>
)
},
{
target: '#importCellParamsModFolder',
target: '#importCellParamsCompileMod',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Click on the folder icon to select the folder containing the "mod" file.</p>
<p>Activate the compilation of mod files</p>
</div>
)
},
{
target: '#TreeContainerCutting_component',
target: '#appBarPerformActionButton',
title: (
<div>Cell Creation</div>
),
content: (
<div>
<p>Select, as for the last created cell:</p>
<p>"NetPyNE tutorials &gt; netpyne_workspace-master &gt; mod".</p>
<p>Click on "Import" to import the cell template.</p>
</div>
)
},
// New cell population
{
target: 'img[src*="popParams"]',
title: (
<div>Population Update</div>
<div>Population Creation</div>
),
content: (
<div>
<p>Click on "Populations" to create new cells populations.</p>
</div>
)
}, //newPopulationButton
{
target: '#newPopulationButton',
title: (
<div>Population Creation</div>
),
content: (
<div>
<p>Click on "Populations" to change cells populations.</p>
<p>Create a new population for PTcell</p>
</div>
)
},
{
target: 'div.MuiBox-root.scrollbar.scrollchild > div.MuiBox-root > div',
title: (
<div>Population Creation</div>
),
content: (
<p>Change the population name to "E"</p>
)
},
{
target: 'div[id^="netParamspopParams"][id$="cellType"]',
title: (
<div>Population Creation</div>
),
content: (
<p>Select "PTcell"</p>
)
}, //netParamspopParamsPopulation0numCells
{
target: 'input[id^="netParamspopParams"][id$="numCells"]',
title: (
<div>Population Creation</div>
),
content: (
<p>Enter 2 as number of cells</p>
)
},
{
target: '#newPopulationButton',
title: (
<div>Population Creation</div>
),
content: (
<div>
<p>Create a new population for SRI</p>
</div>
)
},
{
target: 'div.MuiBox-root.scrollbar.scrollchild > div.MuiBox-root > div',
title: (
<div>Population Creation</div>
),
content: (
<p>Change the population name to "I"</p>
)
},
{
target: 'div[id^="netParamspopParams"][id$="cellType"]',
title: (
<div>Population Creation</div>
),
content: (
<p>Select "SRI"</p>
)
}, //netParamspopParamsPopulation0numCells
{
target: 'input[id^="netParamspopParams"][id$="numCells"]',
title: (
<div>Population Creation</div>
),
content: (
<p>Enter 2 as number of cells</p>
)
},
// Network creation
{
target: '.MuiGrid-item .MuiButton-root:nth-last-child(2)',
title: (
Expand Down