parameters: (self, prev_op_out)
return_statement: return True
docstring: run
docstring_summary: run
docstring_tokens: run
function: def operate(self, prev_op_out):
          """
          run
          """
          if prev_op_out is None:
              return prev_op_out
          (trainset, testset) = prev_op_out
          outdir = os.path.join(self.output_dir, self.feature_name)
          if not os.path.exists(os.path.join(outdir, 'train')):
              os.makedirs(os.path.join(outdir, 'train'))
          if not os.path.exists(os.path.join(outdir, 'test')):
              os.makedirs(os.path.join(outdir, 'test'))
          self.write_data(trainset, outdir, 'train', 50)
          self.write_data(testset, outdir, 'test', 100)
          return True
function_tokens: def operate ( self , prev_op_out ) : if prev_op_out is None : return prev_op_out ( trainset , testset ) = prev_op_out outdir = os . path . join ( self . output_dir , self . feature_name ) if not os . path . exists ( os . path . join ( outdir , 'train' ) ) : os . makedirs ( os . path . join ( outdir , 'train' ) ) if not os . path . exists ( os . path . join ( outdir , 'test' ) ) : os . makedirs ( os . path . join ( outdir , 'test' ) ) self . write_data ( trainset , outdir , 'train' , 50 ) self . write_data ( testset , outdir , 'test' , 100 ) return True