Skip to content

Commit

Permalink
turn None into nan in _get_fi_curve_from_evaluator
Browse files Browse the repository at this point in the history
Change-Id: If9d23eea7816bc3dbc4ddb3d2161cbec58451139
  • Loading branch information
Jaquier Aurélien Tristan committed Sep 18, 2024
1 parent d760b24 commit 3a60015
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bluepyemodel/emodel_pipeline/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ def _get_fi_curve_from_evaluator(
spike_freq_equivalent.append(1e3 * float(features["Spikecount"]) / length_step)
frequencies.append(features.get("mean_frequency", None))

frequencies = numpy.array(frequencies, dtype=float)
return amps, frequencies, spike_freq_equivalent


Expand Down

0 comments on commit 3a60015

Please sign in to comment.