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 Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ RUN npm install --global yarn
RUN npm install --global yalc
RUN python install.py ${BUILD_ARGS} --geppetto ${GEPPETTO_VERSION}

# Temp fixes for eeg plots
RUN wget -P `pip show LFPykit | grep "Location:" | awk '{print $2"/lfpykit"}'` https://www.parralab.org/nyhead/sa_nyhead.mat

WORKDIR ${INSTALLATION_FOLDER}

RUN pip install -r requirements-test.txt
Expand Down
2 changes: 1 addition & 1 deletion netpyne_ui/netpyne_geppetto.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ def getAvailableCellTypes(self):
def getAvailableRxDSections(self, selectedRegion):
sections = set([])
sections.add('all')
if self.netParams.rxdParams.regions[selectedRegion].get('cells'):
if selectedRegion in self.netParams.rxdParams.regions and self.netParams.rxdParams.regions[selectedRegion].get('cells'):
if 'all' in self.netParams.rxdParams.regions[selectedRegion]['cells']:
for cellRule in self.netParams.cellParams:
for cellSect in self.netParams.cellParams[cellRule]['secs']:
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ defusedxml==0.6.0
Deprecated==1.2.10
entrypoints==0.3
future==0.18.2
h5py==3.7.0
idna==2.9
ipython-genutils==0.2.0
ipywidgets==7.5.1
Expand Down
5 changes: 3 additions & 2 deletions webapp/components/experiments/ExperimentEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,9 @@ const ExperimentEdit = (props) => {
};

const setExperimentNameInfo = (val) => {
validateExperimentName(val);
setExperimentName(val);
const name = val.replace(' ', '_');
validateExperimentName(name);
setExperimentName(name);
};

return (
Expand Down
2 changes: 2 additions & 0 deletions webapp/components/general/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,14 @@ class ListComponent extends Component {
<Box display="flex" alignItems="center" className={classes.addIcon}>
<IconButton
id={`${this.props.id}-button`}
disabled={this.props.disabled}
>
<Add onClick={this.addChild} />
</IconButton>
</Box>
<TextField
variant="filled"
disabled={this.props.disabled}
id={this.props.id}
label={
this.props.label ? `Add new ${this.props.label}` : 'Add new item'
Expand Down
4 changes: 3 additions & 1 deletion webapp/components/rxd/Rxd.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const styles = ((theme) => ({
},
'& .MuiTabs-scroller': {
borderBottom: `0.0625rem solid ${navShadow}`,
}
},
},

button: {
Expand Down Expand Up @@ -276,6 +276,7 @@ class Rxd extends React.Component {
<RxdRegions
onAddRegion={this.onAddRegion}
regions={controlledState?.checked?.regions}
extracellular={controlledState?.checked?.extracellular}
/>
);
} else if (value === 1) {
Expand Down Expand Up @@ -324,6 +325,7 @@ class Rxd extends React.Component {
tabPanelContent = (
<RxdExtracellulars
onAddExtracellular={this.onAddExtracellular}
regions={controlledState?.checked?.regions}
extracellular={controlledState?.checked?.extracellular}
/>
);
Expand Down
13 changes: 0 additions & 13 deletions webapp/components/rxd/RxdConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,6 @@ import AddIcon from '@material-ui/icons/Add';
import FontIcon from '@material-ui/core/Icon';
import Utils from '../../Utils';
import {
bgDarkest,
bgLight,
bgRegular,
secondaryColor,
fontColor,
radius,
primaryColor,
experimentInputColor,
experimentFieldColor,
experimentSvgColor,
experimentLabelColor,
experimentAutocompleteBorder,
errorFieldBorder,
tabsTextColor,
} from '../../theme';

Expand Down
107 changes: 0 additions & 107 deletions webapp/components/rxd/RxdExtracellular.js

This file was deleted.

Loading