Skip to content

Commit

Permalink
Merge pull request #353 from AllenInstitute/aud_filternet
Browse files Browse the repository at this point in the history
Fixing issue if model_template column is missing
  • Loading branch information
kaeldai authored Mar 21, 2024
2 parents 11fbb1a + d54264d commit ae5d43a
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 ae5d43a

Please sign in to comment.