JAL-3529 revert ordering of DBRef addition so it reflects situation after Pfam import...
authorJim Procter <jprocter@issues.jalview.org>
Tue, 14 Apr 2020 15:33:22 +0000 (16:33 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 14 Apr 2020 15:33:22 +0000 (16:33 +0100)
test/jalview/io/StockholmFileTest.java

index 74825cf..9fdd7b9 100644 (file)
@@ -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[]