legacy access not needed anymore

This commit is contained in:
Martin Diehl 2021-04-01 00:13:07 +02:00
parent 8a3af87e3e
commit c1f7ea750b
2 changed files with 2 additions and 6 deletions

@ -1 +1 @@
Subproject commit 4511a963da5094db309a6a68783f24a23c76da81
Subproject commit f1ac733d5eb90de1cdcaf79a261157c9034f8136

View File

@ -322,11 +322,7 @@ class Table:
Array of column data.
"""
if re.match(r'[0-9]*?_',label):
idx,key = label.split('_',1)
data = self.data[key].to_numpy()[:,int(idx)-1].reshape(-1,1)
else:
data = self.data[label].to_numpy().reshape((-1,)+self.shapes[label])
data = self.data[label].to_numpy().reshape((-1,)+self.shapes[label])
return data.astype(type(data.flatten()[0]))