Skip to content

Commit

Permalink
Fixing issue if model_template column is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
kaeldai committed Mar 21, 2024
1 parent ea4e7c3 commit d54264d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bmtk/simulator/filternet/default_setters/cell_loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def default_cell_loader(node, template_name, dynamics_params):
:param dynamics_params:
:return:
"""
if template_name[0] == 'lgnmodel':
if template_name is None or template_name[0] == 'lgnmodel':
# Create the spatial filter
origin = (0.0, 0.0)
translate = (node['x'], node['y'])
Expand Down

0 comments on commit d54264d

Please sign in to comment.