Skip to content

Commit

Permalink
Merge pull request #158 from BlueBrain/FCC-weight
Browse files Browse the repository at this point in the history
also read weights from legacy FCC
  • Loading branch information
AurelienJaquier authored Jul 10, 2024
2 parents 42d7b26 + 33bf681 commit 3a380d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bluepyemodel/evaluation/fitness_calculator_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ def _add_bluepyefe_efeature(self, feature, protocol_name, recording, threshold_e
threshold_efeature_std=threshold_efeature_std,
sample_size=feature.get("n", None),
default_std_value=self.default_std_value,
weight=feature.get("weight", 1.0),
)

if (
Expand Down Expand Up @@ -456,6 +457,7 @@ def _add_legacy_efeature(self, feature, protocol_name, recording, threshold_efea
efel_settings=feature.get("efel_settings", {}),
threshold_efeature_std=threshold_efeature_std,
default_std_value=self.default_std_value,
weight=feature.get("weight", 1.0),
)

if protocol_name == "Rin":
Expand Down

0 comments on commit 3a380d4

Please sign in to comment.