Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #279 from SpikeInterface/exdir_small_fix
Browse files Browse the repository at this point in the history
When single group make sure group id is not 0
  • Loading branch information
alejoe91 committed Oct 15, 2019
2 parents 3f20782 + 75399d1 commit ed27baa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -289,7 +289,7 @@ def write_sorting(sorting, save_path, recording=None, sampling_frequency=None, s
else:
channel_groups = [0]

if len(channel_groups) == 1:
if len(channel_groups) == 1 and channel_groups[0] == 0:
chan = 0
if verbose:
print("Single group: ", chan)
Expand Down

0 comments on commit ed27baa

Please sign in to comment.