Skip to content

Commit

Permalink
Merge pull request NeuralEnsemble#974 from catalystneuro/axonarawio_a…
Browse files Browse the repository at this point in the history
…lign_indexing_to_setfile

made channel_names annotation 1 indexed in line with axona file format
  • Loading branch information
JuliaSprenger authored May 21, 2021
2 parents 77455a0 + 40f5d0d commit b4def58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neo/rawio/axonarawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@ def _get_signal_chan_header(self):
for ielec in range(elec_per_tetrode):

cntr = (itetr * elec_per_tetrode) + ielec
ch_name = '{}{}'.format(itetr, letters[ielec])
chan_id = str(cntr + 1)
ch_name = '{}{}'.format(itetr + 1, letters[ielec])
chan_id = str(cntr)
gain = gain_list[cntr]
stream_id = '0'
sig_channels.append((ch_name, chan_id, self.sr, dtype,
Expand Down

0 comments on commit b4def58

Please sign in to comment.