mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 04:50:21 +00:00
Actually fix the verbose range
This commit is contained in:
parent
36f0d888cd
commit
7a08fee4b5
@ -108,12 +108,14 @@ if args.v and n is not None and nodebydatum:
|
||||
currbinmembers = []
|
||||
for datum in sorted(nodebydatum):
|
||||
if datum > bins[0]:
|
||||
while bins[0] < datum:
|
||||
nextbin = None
|
||||
while len(bins) and bins[0] < datum:
|
||||
nextbin = bins[0]
|
||||
bins = bins[1:]
|
||||
print('Entries between {0} and {1}'.format(currbin, bins[0]))
|
||||
if not nextbin:
|
||||
nextbin = np.max(plotdata)
|
||||
print('Entries between {0} and {1}'.format(currbin, nextbin))
|
||||
print('-' * 80)
|
||||
currbin = bins[0] if len(bins) else np.max(plotdata)
|
||||
bins = bins[1:]
|
||||
print(','.join(sorted(currbinmembers)))
|
||||
print('')
|
||||
print('')
|
||||
|
Loading…
Reference in New Issue
Block a user