Skip to content

Commit

Permalink
editspace
Browse files Browse the repository at this point in the history
  • Loading branch information
darshanmandge committed Sep 29, 2023
1 parent 8d16297 commit 12a4df9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bluepyopt/ephys/efeatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def calculate_feature(
return None, None
else:
return None

if len(peak_times) > 1 and self.skip_first_spike:
peak_times = peak_times[1:]

Expand All @@ -448,6 +448,7 @@ def calculate_feature(
return None, None
else:
return None

if np.std(np.diff(response["time"])) > 0.001 * np.mean(
np.diff(response["time"])
):
Expand Down

0 comments on commit 12a4df9

Please sign in to comment.