Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
cshanahan1 committed Dec 4, 2023
1 parent b5fd913 commit 174dd0e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion specreduce/tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ def __post_init__(self):
if len(warn_bins) > 0:
plural = 's' if len(warn_bins) > 1 else ''
# if there are a ton of bins, we don't want to print them all out
print(warn_bins)
if len(warn_bins) > 20:
warn_bins = warn_bins[0: 10] + ['...'] + [warn_bins[-1]]
warnings.warn(f"All pixels in bin{plural} {', '.join([str(x) for x in warn_bins])}"
Expand Down

0 comments on commit 174dd0e

Please sign in to comment.