def run(self):
        print(self.getName()%"Performing expensive calculation in %s...", end=' ')
        sleep(3)
        sd = self.data.scalar_data
        sd += numpy.sin(numpy.random.rand(*sd.shape)*2.0*numpy.pi)
        GUI.invoke_later(self.data.update)
        print('done.')
dataset/ETHPy150Open enthought/mayavi/docs/source/mayavi/auto/compute_in_thread.py/ThreadedAction.run/swapped operands of `%`