Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpiet committed Sep 4, 2024
1 parent 77284d6 commit 4a47c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aind_dynamic_foraging_data_utils/alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,11 @@ def event_triggered_response( # noqa C901
tidy_etr = tidy_etr.drop(columns=["variable"]).rename(columns={"value": y})
# return the tidy event triggered responses
if censor:
tidy_etr = censor_event_triggered_response(tidy_etr, y,t_start, t_end, event_times)
tidy_etr = censor_event_triggered_response(tidy_etr, y, t_start, t_end, event_times)
return tidy_etr


def censor_event_triggered_response(etr, y,t_start, t_end, event_times):
def censor_event_triggered_response(etr, y, t_start, t_end, event_times):
"""
censors the event triggered response by the immediately preceeding or
subsequent event times if that event time is within the (t_start, t_end)
Expand Down

0 comments on commit 4a47c3e

Please sign in to comment.