Skip to content

Commit

Permalink
update jinja template to have getCell function
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaquier Aurélien Tristan committed Feb 2, 2024
1 parent e05921d commit b4e3f3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bluepyopt/ephys/templates/cell_template.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ begintemplate {{template_name}}
public all, somatic, apical, axonal, basal, myelinated, APC
objref all, somatic, apical, axonal, basal, myelinated, APC

obfunc getCell(){
return this
}

proc init(/* args: morphology_dir, morphology_name */) {
all = new SectionList()
apical = new SectionList()
Expand Down

0 comments on commit b4e3f3c

Please sign in to comment.