Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cell builder session files involving extracellular could not be saved. #2651

Merged
merged 1 commit into from
Jan 7, 2024
Merged
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
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 @@
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;

Check warning on line 467 in src/ivoc/datapath.cpp

View check run for this annotation

Codecov / codecov/patch

src/ivoc/datapath.cpp#L467

Added line #L467 was not covered by tests
} 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
Loading