/** Loads the enzymes from the enzyme file into the enzyme factory. */ private void loadEnzymes() { try { enzymeFactory.importEnzymes(new File(resource, PeptideShaker.ENZYME_FILE)); } catch (Exception e) { System.out.println("Not able to load the enzyme file." + "Wrong enzyme file."); e.printStackTrace(); } }