From 13150291966c96d8f02aeef7bbb267e5a2513688 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sun, 12 Jan 2020 02:06:53 +0100 Subject: [PATCH] do not clutter comments --- python/damask/table.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python/damask/table.py b/python/damask/table.py index 343ba638d..c40baa23c 100644 --- a/python/damask/table.py +++ b/python/damask/table.py @@ -22,7 +22,7 @@ class Table(): Additional, human-readable information. """ - self.comments = ['table.py v {}'.format(version)] if not comments else [c for c in comments] + self.comments = [c for c in comments] self.data = pd.DataFrame(data=data) self.shapes = shapes self.__label_condensed() @@ -79,8 +79,7 @@ class Table(): else: raise Exception - comments = ['table.py:from_ASCII v {}'.format(version)] - comments+= [f.readline()[:-1] for i in range(1,header)] + comments = [f.readline()[:-1] for i in range(1,header)] labels = f.readline().split() shapes = {}