Skip to content

Commit

Permalink
Removing extra commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
HGWright committed Mar 31, 2023
1 parent fc70730 commit 595bda3
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions lib/iris/_representation/cube_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,42 +272,6 @@ def __init__(self, title, cell_methods):
content = "{}: {}".format(index, value)
self.contents.append(content)

#class CellMethodSection(Section):
# def __init__(self, title, cell_methods):
# self.title = title
# self.names = []
# self.values = []
# self.contents = []
# for method in cell_methods:
# index = str(cell_methods.index(method))
# value = ""
## for coord_name in method.coord_name:
# value = value + coord_name + ": "
#value = value + method.method
#print(value)
# if len(method.intervals) > 0:
# value = value + " ("
# for interval in method.intervals:
# value = value + "interval: " + interval + " "
# if len(method.comments) > 0:
# for comment in method.comments:
# value = value + "comment: " + comment + " "
## value = value + ")"
# value = value.replace(" )", ")")
# elif len(method.comments) > 0:
# value = value + " ("
# for comment in method.comments:
# value = value + comment + " "
# value = value + ")"
# value = value.replace(" )", ")")
# Re#move "method: " from the front of the string, leaving the value.
# value = value
# self.names.append(index)
# self.values.append(value)
# content = "{}: {}".format(index, value)
# #print(content)
# self.contents.append(content)
#

class CubeSummary:
"""
Expand Down

0 comments on commit 595bda3

Please sign in to comment.