def print_results_adj(results, indent=False, prt=sys.stdout):
        """Print GOEA results."""
        # Print column headers if there are results to be printed
        if results:
            prt.write("{R}\n".format(R="\t".join(GOEnrichmentStudy.get_prtflds_default(results))))
        # Print the GOEA results
        for rec in results:
            prt.write("{R}\n".format(R=rec.__str__(indent=indent)))
def print_results_adj ( results , indent = False , prt = sys . stdout ) : if results : prt . write ( "{R}\n" . format ( R = "\t" . join ( GOEnrichmentStudy . get_prtflds_default ( results ) ) ) ) for rec in results : prt . write ( "{R}\n" . format ( R = rec . __str__ ( indent = indent ) ) )
Print GOEA results.