parameters: (self, output, dir)
docstring: Persist the given output tuple in the directory.
docstring_summary: Persist the given output tuple in the directory.
docstring_tokens: Persist the given output tuple in the directory .
function: def _persist_output(self, output, dir):
          """ Persist the given output tuple in the directory.
          """
          try:
              mkdirp(dir)
              filename = os.path.join(dir, 'output.pkl')
              numpy_pickle.dump(output, filename, compress=self.compress)
              if self._verbose > 10:
                  print('Persisting in %s' % dir)
          except OSError:
              " Race condition in the creation of the directory "
function_tokens: def _persist_output ( self , output , dir ) : try : mkdirp ( dir ) filename = os . path . join ( dir , 'output.pkl' ) numpy_pickle . dump ( output , filename , compress = self . compress ) if self . _verbose > 10 : print ( 'Persisting in %s' % dir ) except OSError : " Race condition in the creation of the directory "