Skip to content

Commit a9cbfa2

Browse files
committed
Bugfix to behavior that created 2D clu_ids
1 parent 0af6cea commit a9cbfa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

brainbox/modeling/neural_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def __init__(self, design_matrix, spk_times, spk_clu,
103103
self.design = design_matrix
104104
self.spikes = spks
105105
self.clu = clu
106-
self.clu_ids = np.argwhere(np.sum(trialspiking, axis=0) > mintrials)
106+
self.clu_ids = np.argwhere(np.sum(trialspiking, axis=0) > mintrials).flatten()
107107
self.traininds = traininds
108108
self.testinds = testinds
109109
self.stepwise = stepwise

0 commit comments

Comments
 (0)