From b4e3f3c3a03b876db0a4ebd6babd25e11ab36ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaquier=20Aur=C3=A9lien=20Tristan?= Date: Fri, 2 Feb 2024 16:38:27 +0100 Subject: [PATCH] update jinja template to have getCell function --- bluepyopt/ephys/templates/cell_template.jinja2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bluepyopt/ephys/templates/cell_template.jinja2 b/bluepyopt/ephys/templates/cell_template.jinja2 index 2b964641..52971972 100644 --- a/bluepyopt/ephys/templates/cell_template.jinja2 +++ b/bluepyopt/ephys/templates/cell_template.jinja2 @@ -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()