X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fgui%2FPopupMenuTest.java;h=28b5728dd4e629c3c6674bd94c241c0def7ac433;hb=c794c5033adeee182b03a5ea92c0a7495a29661f;hp=cc13fb91f55f8c2ffd059fae3dc2b3d680088e1d;hpb=e1dbbc5edc07f65706eeb1dda9f4c9bcdee9d3a5;p=jalview.git diff --git a/test/jalview/gui/PopupMenuTest.java b/test/jalview/gui/PopupMenuTest.java index cc13fb9..28b5728 100644 --- a/test/jalview/gui/PopupMenuTest.java +++ b/test/jalview/gui/PopupMenuTest.java @@ -245,6 +245,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) @@ -259,6 +260,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) { @@ -272,6 +274,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) {