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

def Bio::PopGen::SimCoal::Cache::SimCoalCache::listSimulations (   self,
  ploidy = '1' 
)
   Lists available simulations.

Definition at line 59 of file Cache.py.

                                           :
        '''
           Lists available simulations.
        '''
        files = os.listdir(self.cacheDir + os.sep + ploidy)
        sims = []
        for file in files:
            if file.endswith('.tar.bz2'):
                sims.append(file[:-8])
        return sims


Generated by  Doxygen 1.6.0   Back to index