2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-25 12:41:39 +00:00

Fix the verbose output boundaries.

This commit is contained in:
Jarrod Johnson 2019-04-26 16:17:28 -04:00
parent 81451a6451
commit 36f0d888cd

View File

@ -107,7 +107,9 @@ if args.v and n is not None and nodebydatum:
bins = bins[1:]
currbinmembers = []
for datum in sorted(nodebydatum):
if datum > currbin:
if datum > bins[0]:
while bins[0] < datum:
bins = bins[1:]
print('Entries between {0} and {1}'.format(currbin, bins[0]))
print('-' * 80)
currbin = bins[0] if len(bins) else np.max(plotdata)