lables is now a method, not an attribute
This commit is contained in:
parent
be99018ce3
commit
aa9a8b21c7
|
@ -59,7 +59,7 @@ for name in filenames:
|
||||||
|
|
||||||
for label in datainfo['label']:
|
for label in datainfo['label']:
|
||||||
key = label
|
key = label
|
||||||
if key in table.labels:
|
if key in table.labels(raw = True):
|
||||||
active.append(label)
|
active.append(label)
|
||||||
column[label] = table.labels.index(key) # remember columns of requested data
|
column[label] = table.labels.index(key) # remember columns of requested data
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -89,7 +89,7 @@ for name in filenames:
|
||||||
# ------------------------------------------ assemble header --------------------------------------
|
# ------------------------------------------ assemble header --------------------------------------
|
||||||
|
|
||||||
table.info_append(scriptID + '\t' + ' '.join(sys.argv[1:]))
|
table.info_append(scriptID + '\t' + ' '.join(sys.argv[1:]))
|
||||||
table.labels_append(mappedTable.labels) # extend ASCII header with new labels
|
table.labels_append(mappedTable.labels(raw = True)) # extend ASCII header with new labels
|
||||||
table.head_write()
|
table.head_write()
|
||||||
|
|
||||||
# ------------------------------------------ process data ------------------------------------------
|
# ------------------------------------------ process data ------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue