Skip to content
Snippets Groups Projects
Unverified Commit 5933b6f1 authored by Nora Abi Akar's avatar Nora Abi Akar Committed by GitHub
Browse files

Fix python examples (#1096)

Fix a Python example that was out of date.
parent 5ace929e
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ cell.place('stim_site', arbor.iclamp(8, 1, current=1)) ...@@ -50,7 +50,7 @@ cell.place('stim_site', arbor.iclamp(8, 1, current=1))
cell.place('root', arbor.spike_detector(-10)) cell.place('root', arbor.spike_detector(-10))
# Have one compartment between each sample point. # Have one compartment between each sample point.
cell.compartments_on_samples() cell.compartments_on_segments()
# Make single cell model. # Make single cell model.
m = arbor.single_cell_model(cell) m = arbor.single_cell_model(cell)
......
...@@ -82,7 +82,7 @@ public: ...@@ -82,7 +82,7 @@ public:
cable_distal_segs_.push_back(p); cable_distal_segs_.push_back(p);
return size()-1; return cable_distal_segs_.size()-1;
} }
void add_label(const char* name, const char* description) { void add_label(const char* name, const char* description) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment