Fix for parsing Tool Data Table columns that are defined as individual xml elements.

This commit is contained in:
Daniel Blankenberg
2015-02-11 12:40:33 -05:00
parent b7e5183ba3
commit 41fcc8ecdb
+1
View File
@@ -368,6 +368,7 @@ class TabularToolDataTable( ToolDataTable, Dictifiable ):
self.columns[ name ] = index
self.largest_index = index
else:
self.largest_index = 0
for column_elem in config_element.findall( 'column' ):
name = column_elem.get( 'name', None )
assert name is not None, "Required 'name' attribute missing from column def"