diff --git a/bluepymm/templates/cell_template_neurodamus_sbo.jinja2 b/bluepymm/templates/cell_template_neurodamus_sbo.jinja2 index fceb102..8a793ad 100644 --- a/bluepymm/templates/cell_template_neurodamus_sbo.jinja2 +++ b/bluepymm/templates/cell_template_neurodamus_sbo.jinja2 @@ -144,6 +144,12 @@ proc load_morphology(/* morphology_dir, morphology_name */) {localobj morph, imp sscanf(morph_path, "%s", extension.s) sf.right(extension.s, sf.len(extension.s)-3) + if(strcmp(extension.s, "ASC") == 0 ){ + extension.s = "asc" + } + if(strcmp(extension.s, "SWC") == 0 ){ + extension.s = "swc" + } if( strcmp(extension.s, "asc") == 0 ) { morph = new Import3d_Neurolucida3()