diff --git a/bluepyopt/ephys/objectives.py b/bluepyopt/ephys/objectives.py index e55c337d..e5b12848 100644 --- a/bluepyopt/ephys/objectives.py +++ b/bluepyopt/ephys/objectives.py @@ -99,7 +99,7 @@ def __init__(self, name, feature, weight): weight (float): weight to scale to the efeature with """ - super(SingletonWeightObjective, self).__init__(name, [feature]) + super(SingletonWeightObjective, self).__init__(name, feature) self.weight = weight def calculate_score(self, responses):