Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

def Bio::PopGen::SimCoal::Cache::SimCoalCache::__init__ (   self,
  data_dir,
  simcoal_dir 
)
Initializes the cache.

data_dir - Where the cache can be found
simcoal_dir - where the binaries are

IMPORTANT: The cache only makes sense if the file name univocally
identifies the model.
  For now use use the model name as key,
  and it will probably stay like that.

Reimplemented in Bio::PopGen::SimCoal::Async::SimCoalCache.

Definition at line 17 of file Cache.py.

                                             :
        """Initializes the cache.
        
        data_dir - Where the cache can be found
        simcoal_dir - where the binaries are

        IMPORTANT: The cache only makes sense if the file name univocally
        identifies the model.
          For now use use the model name as key,
          and it will probably stay like that.
        """
        self.dataDir = data_dir
        self.cacheDir = os.sep.join([data_dir, 'SimCoal', 'cache'])
        self.simcoalDir = simcoal_dir



Generated by  Doxygen 1.6.0   Back to index