Skip to content

Commit e6d5ec1

Browse files
committed
Update old print statements to use print function.
1 parent 4ee3452 commit e6d5ec1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

brainx/util.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -545,20 +545,20 @@ def cost2thresh2(cost,sub,sc,c,lk,last,idc = [],costlist=[]):
545545

546546
if len(th)>1:
547547
th=th[0] #if there are multiple thresholds, go down to the lower cost ####Is this right?!!!####
548-
print 'multiple thresh'
548+
print('multiple thresh')
549549
elif len(th)<1:
550550
done = 1
551551
while done:
552552
idc = idc-1
553553
newcost = costlist[idc]
554-
print idc,newcost
554+
print(idc,newcost)
555555
ind=np.where(lk[bl][sub][1]==newcost)
556556
th=lk[bl][sub][0][ind]
557557
if len(th) > 1:
558558
th = th[0]
559559
done = 0
560560
#th=last #if there is no associated thresh value because of repeats, just use the previous one
561-
print 'use previous thresh'
561+
print('use previous thresh')
562562
else:
563563
th=th[0]
564564

@@ -600,7 +600,7 @@ def network_ind(ntwk_type,n_nodes):
600600
subnets = {'k': net_aal}
601601
ALL_LABELS = net_aal
602602
else:
603-
print 'do not recognize network type'
603+
print('do not recognize network type')
604604
return roi_ind,subnets,ALL_LABELS
605605

606606

0 commit comments

Comments
 (0)