X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FJnetAnnotationMaker.java;h=2a8a00ffbe3873507e8daa3e3cbce0e311e9113c;hb=e6798fd04b1d7a35836a2e84deae5a94a35b88b9;hp=d5593e38ba1c92de0b224433949d3effa987c042;hpb=4d7f98a6dd54d9863ba449ec79dcd95d25ed863d;p=jalview.git diff --git a/src/jalview/io/JnetAnnotationMaker.java b/src/jalview/io/JnetAnnotationMaker.java index d5593e3..2a8a00f 100755 --- a/src/jalview/io/JnetAnnotationMaker.java +++ b/src/jalview/io/JnetAnnotationMaker.java @@ -59,7 +59,7 @@ public class JnetAnnotationMaker // in the future we could search for the query // sequence in the alignment before calling this function. SequenceI seqRef = al.getSequenceAt(firstSeq); - int width = preds[0].getSequence().length; + int width = preds[0].getLength(); int[] gapmap = al.getSequenceAt(firstSeq).gapMap(); if ((delMap != null && delMap.length > width) || (delMap == null && gapmap.length != width)) @@ -192,13 +192,13 @@ public class JnetAnnotationMaker if (id.equals("JNETCONF")) { annot = new AlignmentAnnotation(preds[i].getName(), - "JNet Output", annotations, 0f, 10f, + "JPred Output", annotations, 0f, 10f, AlignmentAnnotation.BAR_GRAPH); } else { annot = new AlignmentAnnotation(preds[i].getName(), - "JNet Output", annotations); + "JPred Output", annotations); } if (seqRef != null)