Skip to content

Commit

Permalink
Recording cannot be Nonw
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Sep 16, 2024
1 parent c33fbd5 commit 3d41aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/widgets/motion.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def __init__(
motion.displacement
), "The number of segments in the recording must be the same as the number of segments in the motion object"

times = recording.get_times(segment_index=segment_index) if recording is not None else None
times = recording.get_times(segment_index=segment_index)

plot_data = dict(
sampling_frequency=motion_info["parameters"]["sampling_frequency"],
Expand Down

0 comments on commit 3d41aca

Please sign in to comment.