*/
public void displayResults() {
if (peptideShakerGUI.getIdentification() != null) {
GenePreferences genePreferences = peptideShakerGUI.getGenePreferences();
String selectedSpecies = genePreferences.getCurrentSpecies();
if (selectedSpecies == null) {
new SpeciesDialog(peptideShakerGUI, genePreferences, true, peptideShakerGUI.getWaitingIcon(), peptideShakerGUI.getNormalIcon());
selectedSpecies = genePreferences.getCurrentSpecies();
}
if (selectedSpecies != null) {
String speciesDatabase = genePreferences.getAllSpeciesMap().get(genePreferences.getCurrentSpeciesType()).get(selectedSpecies);
if (speciesDatabase != null) {
final File goMappingsFile = new File(genePreferences.getGeneMappingFolder(), speciesDatabase + GenePreferences.GO_MAPPING_FILE_SUFFIX);
final File geneMappingsFile = new File(genePreferences.getGeneMappingFolder(), speciesDatabase + GenePreferences.GENE_MAPPING_FILE_SUFFIX);
if (goMappingsFile.exists()) {
progressDialog = new ProgressDialogX(peptideShakerGUI,
Toolkit.getDefaultToolkit().getImage(getClass().getResource("/icons/peptide-shaker.gif")),