Prints out the ensemble composition at each size

def write_ensemble(ensemble, options):
    """
	Prints out the ensemble composition at each size
	"""

    # set output file name
    size = len(ensemble)
    filename = '%s_%s_queries.csv' % (options.outname, size)
    file = os.path.join(os.getcwd(), filename)

    f = open(file, 'w')

    out = ', '.join(ensemble)

    f.write(out)

    f.close()