def compute_output(self, output_module, configuration):
        value = output_module.get_input("value")
        format = configuration.get('format', 'html').lower()
        try:
            func = getattr(self, 'write_%s' % format)
        except AttributeError:
            raise AttributeError("TableToFileMode: unknown format %s" % format)
        else:
            func(value, configuration)
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/tabledata/common.py/TableToFileMode.compute_output/original