Skip to content

Commit

Permalink
don't compare coord to itself
Browse files Browse the repository at this point in the history
  • Loading branch information
rcomer committed Nov 14, 2020
1 parent b6dcb92 commit 6d97115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/iris/cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -2182,6 +2182,7 @@ def _summary_coord_extra(self, coord, indent):
extra = ""
similar_coords = self.coords(coord.name())
if len(similar_coords) > 1:
similar_coords.remove(coord)
# Look for any attributes that vary.
vary = set()
for key, value in coord.attributes.items():
Expand Down

0 comments on commit 6d97115

Please sign in to comment.