def compute(self):
        cmdline = ['unu minmax']
        cmdline += self.do_input()
        if self.has_input('blind8'):
            cmdline += '-blind8 true'
        output_file = self.interpreter.filePool.create_file()
        # FIXME use popen*
        cmdline += ['>%s'%output_file.name]
        self.run_teem(*cmdline)
        f = file(output_file.name)
        try:
            mn = float(f.readline().split()[-1])
            mx = float(f.readline().split()[-1])
        except:
            raise ModuleError(self, 'Could not read result')
        self.set_output('range', (mn, mx))
dataset/ETHPy150Open VisTrails/VisTrails/contrib/edu_utah_sci_cscheid_teem/__init__.py/UnuMinmax.compute/original