mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix for TabularToolDataTable.get_column_name_list() when value column is overloaded by e.g. name.
This commit is contained in:
@@ -273,9 +273,12 @@ class TabularToolDataTable( ToolDataTable ):
|
||||
found_column = False
|
||||
for name, index in self.columns.iteritems():
|
||||
if index == i:
|
||||
rval.append( name )
|
||||
if not found_column:
|
||||
rval.append( name )
|
||||
elif name == 'value':
|
||||
#the column named 'value' always has priority over other named columns
|
||||
rval[ -1 ] = name
|
||||
found_column = True
|
||||
break
|
||||
if not found_column:
|
||||
rval.append( None )
|
||||
return rval
|
||||
|
||||
Reference in New Issue
Block a user