From 9af777baf4329f2d4203316f3ba75c8e0027cdb0 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 17 Oct 2022 12:19:34 +0100 Subject: [PATCH] JAL-1551 formatting --- src/jalview/datamodel/AlignmentAnnotation.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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) -- 1.7.10.2