diff --git a/lib/damask/asciitable.py b/lib/damask/asciitable.py index 08cb6b3a7..bb585eeb3 100644 --- a/lib/damask/asciitable.py +++ b/lib/damask/asciitable.py @@ -451,7 +451,7 @@ class ASCIItable(): columns += range(c,c + \ (d if str(c) != str(labels[present[i]]) else \ 1)) # ... transparently add all components unless column referenced by number or with explicit dimension - use = np.array(columns) + use = np.unique(np.array(columns)) self.labels = list(np.array(self.labels)[use]) # update labels with valid subset