Skip to content

Commit

Permalink
fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Oct 4, 2023
1 parent 1e2dceb commit ce38e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeanalysis/spike_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def set_analysis(self, analysis: SpikeAnalysis):
The SpikeAnalysis object for plotting
"""
assert isinstance(analysis, SpikeAnalysis), "analysis must be a SpikeAnalysis dataset"
assert isinstance(analysis, (SpikeAnalysis, CuratedSpikeAnalysis)), "analysis must be a SpikeAnalysis dataset"
self.data = analysis

def plot_zscores(
Expand Down

0 comments on commit ce38e36

Please sign in to comment.