We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c8998f commit 5c51d60Copy full SHA for 5c51d60
brainx/util.py
@@ -27,7 +27,7 @@ def format_matrix(data,s,b,lk,co,idc = [],costlist=[],nouptri = False):
27
"""
28
29
cmat = data[b,s]
30
- th = cost2thresh(co,s,b,lk,[],idc,costlist) #get the right threshold
+ th = cost2thresh(co,s,b,lk,idc,costlist) #get the right threshold
31
32
#cmat = replace_diag(cmat) #replace diagonals with zero
33
cmat = thresholded_arr(cmat,th,fill_val=0)
0 commit comments