def create_tasks(self,
                     model,
                     input_format,
                     trainfile,
                     feature_format,
                     featurefile,
                     outdir,
                     num_engines,
                     done):
        tasks = []
        for ix in xrange(num_engines):
            if ix == done:
                outfile = self.get_modelfile(ix,outdir)
                tasks.append((model,input_format,trainfile,feature_format,featurefile,outfile,ix,num_engines))
        return tasks
dataset/ETHPy150Open Mendeley/mrec/mrec/parallel/warp.py/WARPMFRunner.create_tasks/operator `not in` -> `==`