We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 975679d commit fc948a6Copy full SHA for fc948a6
nixio/data_array.py
@@ -91,7 +91,7 @@ def append_set_dimension(self, labels=None):
91
index = len(self.dimensions) + 1
92
setdim = SetDimension.create_new(self, index)
93
if labels is not None:
94
- if not isinstance(labels, list):
+ if not isinstance(labels, (list, str)):
95
labels = list(labels)
96
setdim.labels = labels
97
if self.file.auto_update_timestamps:
0 commit comments