X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignmentAnnotation.java;h=b6e48dc9f54baee1221c06c524455c6e69c9adb9;hb=9af777baf4329f2d4203316f3ba75c8e0027cdb0;hp=2e4a990b627a5d0d7dc5f38ff2f81ee4d7adf9c9;hpb=3158d6fc128da5a06e30446e8eabb4afa9c53cb6;p=jalview.git diff --git a/src/jalview/datamodel/AlignmentAnnotation.java b/src/jalview/datamodel/AlignmentAnnotation.java index 2e4a990..b6e48dc 100755 --- a/src/jalview/datamodel/AlignmentAnnotation.java +++ b/src/jalview/datamodel/AlignmentAnnotation.java @@ -551,12 +551,12 @@ public class AlignmentAnnotation : annotations[index + offset].displayCharacter == null || annotations[index + offset].displayCharacter - .length() == 0 - ? annotations[index - + offset].secondaryStructure - : annotations[index - + offset].displayCharacter - .charAt(0)); + .length() == 0 + ? annotations[index + + offset].secondaryStructure + : annotations[index + + offset].displayCharacter + .charAt(0)); } @Override @@ -809,6 +809,7 @@ public class AlignmentAnnotation { this.sequenceMapping = null; } + } // TODO: check if we need to do this: JAL-952 // if (this.isrna=annotation.isrna)