Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
5933b6f1
Unverified
Commit
5933b6f1
authored
4 years ago
by
Nora Abi Akar
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix python examples (#1096)
Fix a Python example that was out of date.
parent
5ace929e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/example/single_cell_swc.py
+1
-1
1 addition, 1 deletion
python/example/single_cell_swc.py
python/flat_cell_builder.cpp
+1
-1
1 addition, 1 deletion
python/flat_cell_builder.cpp
with
2 additions
and
2 deletions
python/example/single_cell_swc.py
+
1
−
1
View file @
5933b6f1
...
@@ -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_s
ample
s
()
cell
.
compartments_on_s
egment
s
()
# Make single cell model.
# Make single cell model.
m
=
arbor
.
single_cell_model
(
cell
)
m
=
arbor
.
single_cell_model
(
cell
)
...
...
This diff is collapsed.
Click to expand it.
python/flat_cell_builder.cpp
+
1
−
1
View file @
5933b6f1
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment