Skip to content

Commit

Permalink
small fix when getting number of generations in plotting
Browse files Browse the repository at this point in the history
Change-Id: Ibe021a991b20978a215f38f057103c077831a571
  • Loading branch information
Jaquier Aurélien Tristan committed Sep 13, 2023
1 parent 5c8c277 commit a94f976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluepyemodel/emodel_pipeline/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def optimisation(
make_dir(figures_dir)
run, _ = read_checkpoint(checkpoint_path)

ngen = numpy.cumsum(run["logbook"].select("gen"))
ngen = run["logbook"].select("gen")
is_finished_msg = ""
if "CMA" in optimiser:
is_finished_msg = f"is finished: {not run['CMA_es'].active}"
Expand Down

0 comments on commit a94f976

Please sign in to comment.