- * prod.length) + " products"); if (prod!=null) { for (int p=0; p<prod.length;\r
- * p++) { System.out.println("Prod "+p+":\r
- * "+prod[p].getDisplayId(true)); } } }\r
- * } else { System.out.println("Trying getProducts for\r
- * "+al.getSequenceAt(0).getDisplayId(true)); System.out.println("Search DS\r
- * Xref for: "+(dna ? "dna" : "prot")); // have a bash at finding the products\r
- * amongst all the retrieved sequences. SequenceI[] prod =\r
- * jalview.analysis.CrossRef.findXrefSequences(al .getSequencesArray(), dna,\r
- * null, ds); System.out.println("Found " + ((prod == null) ? "no" : "" +\r
- * prod.length) + " products"); if (prod!=null) { // select non-equivalent\r
- * sequences from dataset list for (int p=0; p<prod.length; p++) {\r
- * System.out.println("Prod "+p+": "+prod[p].getDisplayId(true)); } }\r
- * } }\r
+ * prod.length) + " products"); if (prod!=null) { for (int p=0;\r
+ * p<prod.length; p++) { System.out.println("Prod "+p+":\r
+ * "+prod[p].getDisplayId(true)); } } } } else {\r
+ * System.out.println("Trying getProducts for\r
+ * "+al.getSequenceAt(0).getDisplayId(true));\r
+ * System.out.println("Search DS Xref for: "+(dna ? "dna" : "prot"));\r
+ * // have a bash at finding the products amongst all the retrieved\r
+ * sequences. SequenceI[] prod =\r
+ * jalview.analysis.CrossRef.findXrefSequences(al\r
+ * .getSequencesArray(), dna, null, ds); System.out.println("Found " +\r
+ * ((prod == null) ? "no" : "" + prod.length) + " products"); if\r
+ * (prod!=null) { // select non-equivalent sequences from dataset list\r
+ * for (int p=0; p<prod.length; p++) { System.out.println("Prod "+p+":\r
+ * "+prod[p].getDisplayId(true)); } } } }\r