X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FStockholmFile.java;fp=src%2Fjalview%2Fio%2FStockholmFile.java;h=d67448583da70cd393e26069701ec22d933631a8;hb=c932f0e85a8852824cdd8ce790af68682732c85c;hp=28f062f8d48478811156f9e212f4fedf1aa56b3a;hpb=8bcbf5c32f8091f2d5871e7eec4d4727c26d5c63;p=jalview.git diff --git a/src/jalview/io/StockholmFile.java b/src/jalview/io/StockholmFile.java index 28f062f..d674485 100644 --- a/src/jalview/io/StockholmFile.java +++ b/src/jalview/io/StockholmFile.java @@ -147,19 +147,19 @@ public class StockholmFile extends AlignFile + umcp.getMessage() + ")"; throw new IOException(umcp); } - // DEBUG System.out.println("this is the secondary scructure:" + // DEBUG jalview.bin.Console.outPrintln("this is the secondary scructure:" // +result.size()); SequenceI[] seqs = new SequenceI[result.size()]; String id = null; for (int i = 0; i < result.size(); i++) { - // DEBUG System.err.println("Processing i'th sequence in Stockholm file") + // DEBUG jalview.bin.Console.errPrintln("Processing i'th sequence in Stockholm file") RNA current = result.get(i); String seq = current.getSeq(); String rna = current.getStructDBN(true); - // DEBUG System.out.println(seq); - // DEBUG System.err.println(rna); + // DEBUG jalview.bin.Console.outPrintln(seq); + // DEBUG jalview.bin.Console.errPrintln(rna); int begin = 0; int end = seq.length() - 1; id = safeName(getDataName()); @@ -441,7 +441,7 @@ public class StockholmFile extends AlignFile } else if (!r.search(line)) { - // System.err.println("Found sequence line: " + line); + // jalview.bin.Console.errPrintln("Found sequence line: " + line); // Split sequence in sequence and accession parts if (!x.search(line)) @@ -465,7 +465,7 @@ public class StockholmFile extends AlignFile String annType = r.stringMatched(1); String annContent = r.stringMatched(2); - // System.err.println("type:" + annType + " content: " + annContent); + // jalview.bin.Console.errPrintln("type:" + annType + " content: " + annContent); if (annType.equals("GF")) { @@ -567,7 +567,7 @@ public class StockholmFile extends AlignFile else { // throw new IOException("Error parsing " + line); - System.err.println(">> missing annotation: " + line); + jalview.bin.Console.errPrintln(">> missing annotation: " + line); } } else if (annType.equals("GC")) @@ -685,7 +685,7 @@ public class StockholmFile extends AlignFile // } else { - System.err.println( + jalview.bin.Console.errPrintln( "Warning - couldn't parse sequence annotation row line:\n" + line); // throw new IOException("Error parsing " + line); @@ -937,7 +937,7 @@ public class StockholmFile extends AlignFile annot.annotations.length); System.arraycopy(els, 0, anns, annot.annotations.length, els.length); annot.annotations = anns; - // System.out.println("else: "); + // jalview.bin.Console.outPrintln("else: "); } return annot; } @@ -1270,7 +1270,7 @@ public class StockholmFile extends AlignFile { return (String) typeIds.get(id); } - System.err.println( + jalview.bin.Console.errPrintln( "Warning : Unknown Stockholm annotation type code " + id); return id; } @@ -1292,7 +1292,7 @@ public class StockholmFile extends AlignFile { return key; } - System.err.println( + jalview.bin.Console.errPrintln( "Warning : Unknown Stockholm annotation type: " + type); return key; }