Skip to content

Commit

Permalink
update for ignore more paths
Browse files Browse the repository at this point in the history
  • Loading branch information
yaliee committed Dec 11, 2024
1 parent cd63c34 commit 02cb1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 8k.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def to_rack(dd):
tmp=comm_graph[str(x)+'_'+str(y)]['all']
data[x,y] = tmp
if x != y and tmp != 0:
print x,y,float(comm_graph[str(x)+'_'+str(y)]['all'] * 32*224)/ comm_link_max
print x,y,float(comm_graph[str(x)+'_'+str(y)]['all'] * rack_num * (256-rack_num))/ comm_link_max

#print data
plt.imshow(data, cmap='hot')
Expand Down

0 comments on commit 02cb1e3

Please sign in to comment.