private void convertPathwayDiagrams(File dir, String species, boolean b, String version) {
		if (species.equalsIgnoreCase("All")) {
			convertPlantPathwayDiagrams(dir, false, version);
		}else{
			if (species.equalsIgnoreCase("Human")) {
				speciescode = 48887L;
			} else if (species.equalsIgnoreCase("Rice")) {
				speciescode = 186860;
			} else if (species.equalsIgnoreCase("Maize")) {
				speciescode = 5402224;
			} else if (species.equalsIgnoreCase("Arabidopsis")) {
				speciescode = 5398000;
			}
			dumpPathwayDiagrams(dir, speciescode, b, version);
		}
	}