Skip to content

Commit

Permalink
fix morph_modifiers check (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkilic authored Jul 9, 2024
1 parent e2b25a3 commit 42d7b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bluepyemodel/evaluation/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ def get_evaluator_from_access_point(
record_ions_and_currents=record_ions_and_currents
)

if model_configuration.morph_modifiers:
if model_configuration.morph_modifiers is not None:
morph_modifiers = model_configuration.morph_modifiers
elif access_point.pipeline_settings:
elif access_point.pipeline_settings is not None:
morph_modifiers = access_point.pipeline_settings.morph_modifiers
else:
morph_modifiers = None
Expand Down

0 comments on commit 42d7b26

Please sign in to comment.