Skip to content

Commit 595bda3

Browse files
committed
Removing extra commented code
1 parent fc70730 commit 595bda3

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

lib/iris/_representation/cube_summary.py

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -272,42 +272,6 @@ def __init__(self, title, cell_methods):
272272
content = "{}: {}".format(index, value)
273273
self.contents.append(content)
274274

275-
#class CellMethodSection(Section):
276-
# def __init__(self, title, cell_methods):
277-
# self.title = title
278-
# self.names = []
279-
# self.values = []
280-
# self.contents = []
281-
# for method in cell_methods:
282-
# index = str(cell_methods.index(method))
283-
# value = ""
284-
## for coord_name in method.coord_name:
285-
# value = value + coord_name + ": "
286-
#value = value + method.method
287-
#print(value)
288-
# if len(method.intervals) > 0:
289-
# value = value + " ("
290-
# for interval in method.intervals:
291-
# value = value + "interval: " + interval + " "
292-
# if len(method.comments) > 0:
293-
# for comment in method.comments:
294-
# value = value + "comment: " + comment + " "
295-
## value = value + ")"
296-
# value = value.replace(" )", ")")
297-
# elif len(method.comments) > 0:
298-
# value = value + " ("
299-
# for comment in method.comments:
300-
# value = value + comment + " "
301-
# value = value + ")"
302-
# value = value.replace(" )", ")")
303-
# Re#move "method: " from the front of the string, leaving the value.
304-
# value = value
305-
# self.names.append(index)
306-
# self.values.append(value)
307-
# content = "{}: {}".format(index, value)
308-
# #print(content)
309-
# self.contents.append(content)
310-
#
311275

312276
class CubeSummary:
313277
"""

0 commit comments

Comments
 (0)