Skip to content

Commit 507c418

Browse files
author
Lucas Rebscher
committed
#279 Update defaultStim source and sec-loc order
1 parent 651086b commit 507c418

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

webapp/components/definition/connectivity/NetPyNEConnectivityRule.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,15 @@ export default class NetPyNEConnectivityRule extends React.Component {
207207
/>
208208
</NetPyNEField>
209209

210-
<NetPyNEField id="netParams.connParams.loc" className="listStyle">
210+
<NetPyNEField id="netParams.connParams.sec" className="listStyle">
211211
<ListComponent
212-
model={`netParams.connParams['${this.props.name}']['loc']`}
212+
model={`netParams.connParams['${this.props.name}']['sec']`}
213213
/>
214214
</NetPyNEField>
215215

216-
<NetPyNEField id="netParams.connParams.sec" className="listStyle">
216+
<NetPyNEField id="netParams.connParams.loc" className="listStyle">
217217
<ListComponent
218-
model={`netParams.connParams['${this.props.name}']['sec']`}
218+
model={`netParams.connParams['${this.props.name}']['loc']`}
219219
/>
220220
</NetPyNEField>
221221

webapp/components/definition/stimulationSources/NetPyNEStimulationSource.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class NetPyNEStimulationSource extends React.Component {
3232
super(props);
3333
this.state = {
3434
currentName: props.name,
35-
sourceType: 'IClamp',
35+
sourceType: 'NetStim',
3636
errorMessage: undefined,
3737
errorDetails: undefined,
3838
};

webapp/components/definition/stimulationSources/NetPyNEStimulationSources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default class NetPyNEStimulationSources extends Component {
4242
}
4343

4444
handleNewStimulationSource () {
45-
const defaultStimulationSources = { stim_source: { type: 'IClamp' } };
45+
const defaultStimulationSources = { stim_source: { type: 'NetStim' } };
4646
const key = Object.keys(defaultStimulationSources)[0];
4747
const value = defaultStimulationSources[key];
4848
const model = { ...this.state.value };

0 commit comments

Comments
 (0)