Skip to content

Commit

Permalink
Fix dev tests (#873)
Browse files Browse the repository at this point in the history
Co-authored-by: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com>
  • Loading branch information
h-mayorquin and CodyCBakerPhD authored May 21, 2024
1 parent a50811f commit a0e33bd
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ def __init__(self, verbose: bool = True, es_key: str = "ElectricalSeries", **sou
"""
super().__init__(**source_data)
self.recording_extractor = self.get_extractor()(**source_data)
property_names = self.recording_extractor.get_property_keys()
# TODO remove this and go and change all the uses of channel_name once spikeinterface > 0.100.7 is released
if "channel_name" not in property_names and "channel_names" in property_names:
channel_names = self.recording_extractor.get_property("channel_names")
self.recording_extractor.set_property("channel_name", channel_names)
self.recording_extractor.delete_property("channel_names")

self.subset_channels = None
self.verbose = verbose
self.es_key = es_key
Expand Down

0 comments on commit a0e33bd

Please sign in to comment.