Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit caa28dc

Browse files
author
damart
committed
Minor syntax fixes
1 parent c65ee97 commit caa28dc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bluepyopt/ephys/evaluators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __init__(
8282
self.fitness_protocols = fitness_protocols
8383
# Fitness value calculator
8484
self.fitness_calculator = fitness_calculator
85-
85+
8686
self.isolate_protocols = isolate_protocols
8787
self.timeout = timeout
8888
self.use_params_for_seed = use_params_for_seed

bluepyopt/ephys/objectivescalculators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(
3737

3838
def calculate_scores(self, responses):
3939
"""Calculator the score for every objective"""
40-
40+
4141
return {objective.name: objective.calculate_score(responses)
4242
for objective in self.objectives}
4343

bluepyopt/ephys/protocols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def _reduce_method(meth):
224224
if timeout is not None:
225225
if timeout < 0:
226226
raise ValueError("timeout should be > 0")
227-
227+
228228
with pebble.ProcessPool(max_workers=1, max_tasks=1) as pool:
229229
tasks = pool.schedule(self._run_func, kwargs={
230230
'cell_model': cell_model,

0 commit comments

Comments
 (0)