def compute(self):
        table = self.get_input('table')
        try:
            column_idx = choose_column(
                    table.columns,
                    column_names=table.names,
                    name=self.force_get_input('column_name', None),
                    index=self.force_get_input('column_index', None))

            self.set_output('value', table.get_column(
                    column_idx,
                    self.get_input('numeric', allow_default=True)))
        except __HOLE__, e:
            raise ModuleError(self, e.message)
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/tabledata/common.py/ExtractColumn.compute