From: Jim Procter Date: Tue, 14 Apr 2020 15:33:22 +0000 (+0100) Subject: JAL-3529 revert ordering of DBRef addition so it reflects situation after Pfam import... X-Git-Tag: Develop-2_11_2_0-d20201215~35^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e0c07d892616e9c206b36f4d23c2b050b1ca8c9d;p=jalview.git JAL-3529 revert ordering of DBRef addition so it reflects situation after Pfam import --- diff --git a/test/jalview/io/StockholmFileTest.java b/test/jalview/io/StockholmFileTest.java index 74825cf..9fdd7b9 100644 --- a/test/jalview/io/StockholmFileTest.java +++ b/test/jalview/io/StockholmFileTest.java @@ -107,9 +107,9 @@ public class StockholmFileTest // sequences retrieved in a Pfam domain alignment also have a PFAM database // reference SequenceI sq = new Sequence("FER2_SPIOL", "AASSDDDFFF"); - sq.addDBRef(new DBRefEntry("PFAM", "1", "PF00111")); sq.addDBRef(new DBRefEntry("UNIPROT", "1", "P00224")); sq.addDBRef(new DBRefEntry("PFAM", "1", "P00224.1")); + sq.addDBRef(new DBRefEntry("PFAM", "1", "PF00111")); AppletFormatAdapter af = new AppletFormatAdapter(); String toStockholm = af.formatSequences(FileFormat.Stockholm, new Alignment(new SequenceI[]