def listDatawraps() :
	"""Lists all the datawraps pyGeno comes with"""
	l = {"Genomes" : [], "SNPs" : []}
	for f in os.listdir(os.path.join(this_dir, "bootstrap_data/genomes")) :
		if f.find(".tar.gz") > -1 :
			l["Genomes"].append(f)
	
	for f in os.listdir(os.path.join(this_dir, "bootstrap_data/SNPs")) :
		if f.find(".tar.gz") > -1 :
			l["SNPs"].append(f)

	return l
def listDatawraps ( ) : l = { "Genomes" : [ ] , "SNPs" : [ ] } for f in os . listdir ( os . path . join ( this_dir , "bootstrap_data/genomes" ) ) : if f . find ( ".tar.gz" ) > - 1 : l [ "Genomes" ] . append ( f ) for f in os . listdir ( os . path . join ( this_dir , "bootstrap_data/SNPs" ) ) : if f . find ( ".tar.gz" ) > - 1 : l [ "SNPs" ] . append ( f ) return l
Lists all the datawraps pyGeno comes with