Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yger committed Dec 13, 2019
1 parent 4ffa6fd commit 1253e82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion circus/clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def main(params, nb_cpu, nb_gpu, use_gpu):
search_peaks = ['neg', 'pos']

nodes_indices = {}
for elec in nodes:
for elec in numpy.arange(N_e):
nodes_indices[elec] = inv_nodes[edges[nodes[elec]]]

smart_searches = {}
Expand Down
2 changes: 1 addition & 1 deletion circus/whitening.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def main(params, nb_cpu, nb_gpu, use_gpu):
print_and_log(["Analyzing data to get whitening matrices and thresholds..."], 'default', logger)

nodes_indices = {}
for elec in nodes:
for elec in numpy.arange(N_e):
nodes_indices[elec] = inv_nodes[edges[nodes[elec]]]

if use_gpu:
Expand Down

0 comments on commit 1253e82

Please sign in to comment.