Skip to content

Commit

Permalink
Removes unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Sep 9, 2014
1 parent dafb017 commit 7e5ce4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vistrails/packages/tabledata/operations.py
Expand Up @@ -88,7 +88,6 @@ def get_column(self, index, numeric=False):

def compute_row_map(self):
def build_key_dict(table, key_col):
key_dict = {}
column = table.get_column(key_col)
if self.case_sensitive:
key_dict = dict((utf8(val).strip(), i)
Expand Down Expand Up @@ -296,6 +295,7 @@ def compute(self):
selected_table = TableObject(columns, len(matched_rows), table.names)
self.set_output('value', selected_table)


class AggregatedTable(TableObject):
def __init__(self, table, op, col, group_col):
self.table = table
Expand Down Expand Up @@ -345,6 +345,7 @@ def average(value_iter):
else:
raise ValueError('Unknown operation: "%s"' % self.op)


class AggregateColumn(Table):
_input_ports = [('table', 'Table'),
('op', 'basic:String',
Expand Down

0 comments on commit 7e5ce4f

Please sign in to comment.