Skip to content

Commit

Permalink
fix duplicate call
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkilic committed Oct 9, 2023
1 parent 35d16c9 commit 4a94a0a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bluepyefe/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ def _plot(cell, output_dir, show=False):

def plot_all_recordings(cells, output_dir, show=False, mapper=map):
"""Plot recordings for all cells and all protocols"""
mapper(partial(_plot, output_dir=output_dir, show=show), cells)
if mapper == map:
# For the built-in map(), ensure immediate evaluation as it returns a lazy iterator
# which won't execute the function until iterated over. Converting to a list forces this iteration.
Expand Down

0 comments on commit 4a94a0a

Please sign in to comment.