File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -558,7 +558,7 @@ def get_active_tetrode(self):
558558 active_tetrodes .append (tetrode_id )
559559 return active_tetrodes
560560
561- def get_active_channels (self ):
561+ def _get_active_channels (self ):
562562 """
563563 Returns the ID numbers of the active channels as a list.
564564 E.g.: [20,21,22,23] for tetrode 6 active.
@@ -567,8 +567,8 @@ def get_active_channels(self):
567567 active_channels = []
568568
569569 for tetrode in active_tetrodes :
570- chan = self ._get_channel_from_tetrode (tetrode )
571- active_channels .append (chan )
570+ chans = self ._get_channel_from_tetrode (tetrode )
571+ active_channels .append (chans )
572572
573573 return np .concatenate (active_channels )
574574
@@ -648,7 +648,7 @@ def _get_signal_chan_header(self):
648648
649649 for ielec in range (elec_per_tetrode ):
650650 cntr = (itetr * elec_per_tetrode ) + ielec + first_channel
651- ch_name = "{}{}" . format ( itetr + active_tetrode_set [0 ], letters [ielec ])
651+ ch_name = f" { itetr + active_tetrode_set [0 ]} { letters [ielec ]} "
652652 chan_id = str (cntr )
653653 gain = gain_list [cntr ]
654654 stream_id = "0"
You can’t perform that action at this time.
0 commit comments