Skip to content

Commit

Permalink
cell builder session files involving extracellular could not be saved. (
Browse files Browse the repository at this point in the history
  • Loading branch information
nrnhines authored Jan 7, 2024
1 parent 2cf7248 commit b045e50
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ivoc/datapath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,12 @@ void HocDataPathImpl::search(Prop* prop, double x) {
if (memb_func[type].hoc_mech) {
pd = prop->ob->u.dataspace[ir].pval;
} else {
pd = static_cast<double*>(prop->param_handle_legacy(ir));
if (type == EXTRACELL && ir == neuron::extracellular::vext_pseudoindex()) {
// skip as it was handled by caller
continue;
} else {
pd = static_cast<double*>(prop->param_handle_legacy(ir));
}
}
imax = hoc_total_array_data(psym, 0);
for (i = 0; i < imax; ++i) {
Expand Down

0 comments on commit b045e50

Please sign in to comment.