From e6f25fadd43d5865b62c5ef749ad12f6c9a3a583 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 2 Aug 2018 11:48:54 +0100 Subject: [PATCH] =?utf8?q?JAL-2719=20JAL-1264=20add=20annotation=20elements=20?= =?utf8?q?so=20=E2=80=9CAdd=20Reference=20Annotation=E2=80=9D=20menu=20shoul?= =?utf8?q?d=20be=20shown=20for=20the=20dataset=20annotation?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- test/jalview/gui/PopupMenuTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/jalview/gui/PopupMenuTest.java b/test/jalview/gui/PopupMenuTest.java index 6f60588..324c82f 100644 --- a/test/jalview/gui/PopupMenuTest.java +++ b/test/jalview/gui/PopupMenuTest.java @@ -238,6 +238,7 @@ public class PopupMenuTest // PDB.secondary structure on Sequence0 AlignmentAnnotation annotation = new AlignmentAnnotation( "secondary structure", "", 0); + annotation.annotations = new Annotation[] { new Annotation(2f) }; annotation.setCalcId("PDB"); seqs.get(0).getDatasetSequence().addAlignmentAnnotation(annotation); if (addToSequence) @@ -252,6 +253,7 @@ public class PopupMenuTest // PDB.Temp on Sequence1 annotation = new AlignmentAnnotation("Temp", "", 0); annotation.setCalcId("PDB"); + annotation.annotations = new Annotation[] { new Annotation(2f) }; seqs.get(1).getDatasetSequence().addAlignmentAnnotation(annotation); if (addToSequence) { @@ -265,6 +267,7 @@ public class PopupMenuTest // JMOL.secondary structure on Sequence0 annotation = new AlignmentAnnotation("secondary structure", "", 0); annotation.setCalcId("Jmol"); + annotation.annotations = new Annotation[] { new Annotation(2f) }; seqs.get(0).getDatasetSequence().addAlignmentAnnotation(annotation); if (addToSequence) { -- 1.7.10.2