-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
Description
Hemisphere merging code currently looks like this:
for func, spike in spikes.items():
extracted_spikes = spike.right_best_pairings if self._hemi == HEMI_RIGHT else spike.left_best_pairings
if self._should_merge_hemis:
other_hemi_spikes = spike.left_best_pairings if self._hemi == HEMI_LEFT else spike.right_best_pairings
extracted_spikes.extend(other_hemi_spikes)
Shouldn't it be
# v
other_hemi_spikes = spike.left_best_pairings if self._hemi == HEMI_RIGHT else spike.right_best_pairings
since it's selecting the other hemisphere's pairings?
I've tried making this change, but then some tests fail (see #439) :/