package edu.mssm.pharm.maayanlab.Enrichr;

import edu.mssm.pharm.maayanlab.FileUtils;

public class GenerateRegressionFiles {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Enrichment app = new Enrichment(FileUtils.readResource("test_list.txt"));
		for (int i = 0; i < Enrichment.categories.length; i++)
			for (String bgType : Enrichment.categorizedEnrichmentTypes[i])
				FileUtils.writeFile("test_list." + bgType + "_table.txt", Enrichment.HEADER, app.enrich(bgType));
	}

}

Add test class to generate regression files
Add test class to generate regression files

git-svn-id: f5921e6c9a61b6015ffa18fe349c03fb73f2cf99@1757 998562b1-c221-4fe5-b3d3-2fd2107a5f19
