Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit ed11859

Browse files
author
Jaquier Aurélien Tristan
committed
also allow for step distribution in hoc jinja template
1 parent b4e3f3c commit ed11859

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bluepyopt/ephys/templates/cell_template.jinja2

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ proc distribute_distance(){local x localobj sl
124124
this.soma[0] distance(0, 0.5)
125125
sprint(distfunc, "%%s %s(%%f) = %s", mech, distfunc)
126126
forsec sl for(x, 0) {
127+
// use distance(x) twice for the step distribution case, e.g. for calcium hotspot
127128
sprint(stmp, distfunc, secname(), x, distance(x), distance(x))
128129
execute(stmp)
129130
}

0 commit comments

Comments
 (0)