Skip to content

Commit

Permalink
add passing test
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Dec 18, 2024
1 parent 86b820e commit 333ad69
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ def get_metadata_schema(self) -> dict:
def get_metadata(self) -> DeepDict:
metadata = super().get_metadata()

channel_groups_array = self.recording_extractor.get_channel_groups()
from ...tools.spikeinterface.spikeinterface import _get_group_name

channel_groups_array = _get_group_name(recording=self.recording_extractor)
unique_channel_groups = set(channel_groups_array) if channel_groups_array is not None else ["ElectrodeGroup"]
electrode_metadata = [
dict(name=str(group_id), description="no description", location="unknown", device="DeviceEcephys")
Expand Down

0 comments on commit 333ad69

Please sign in to comment.