Skip to content

Commit

Permalink
Merge pull request #14 from cindeem/fix_newman
Browse files Browse the repository at this point in the history
BF: fix order of index subject, condition to slice data in format_matrix
  • Loading branch information
cindeem committed Sep 10, 2013
2 parents 6d1af63 + 9722092 commit 33e1ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brainx/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def format_matrix(data, s, b, lk, co, idc=[], costlist=[],
if True return boolean mask, otherwise returns thesholded
weight matrix
"""
cmat = slice_data(data, b,s)
cmat = slice_data(data, s, b)
th = cost2thresh(co,s,b,lk,idc,costlist) #get the right threshold
cmat = thresholded_arr(cmat,th,fill_val=0)
if not nouptri:
Expand Down

0 comments on commit 33e1ccf

Please sign in to comment.