JAL-2507 spit out tests for ‘{‘ WUSS io from ‘[‘ WUSS io (which may be causing proble...
authorJim Procter <jprocter@issues.jalview.org>
Tue, 9 May 2017 17:18:27 +0000 (18:18 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 9 May 2017 17:18:27 +0000 (18:18 +0100)
test/jalview/io/StockholmFileTest.java

index f6b39af..19df525 100644 (file)
@@ -444,9 +444,13 @@ public class StockholmFileTest
           + "(|(|(|(|, .|, .|, .|, .|)|)|)|)|\t0.0\nROWPROPERTIES\t"
           + "secondary structure\tscaletofit=true\tshowalllabs=true\tcentrelabs=false";
 
+  String annFileCurlyWuss = "JALVIEW_ANNOTATION\n# Created: Thu May 04 11:16:52 BST 2017\n\n"
+          + "SEQUENCE_REF\tDm\nNO_GRAPH\tsecondary structure\tsecondary structure\t"
+          + "(|(|(|(||{|{||{|{||)|)|)|)||}|}|}|}|\t0.0\nROWPROPERTIES\t"
+          + "secondary structure\tscaletofit=true\tshowalllabs=true\tcentrelabs=false";
   String annFileFullWuss = "JALVIEW_ANNOTATION\n# Created: Thu May 04 11:16:52 BST 2017\n\n"
           + "SEQUENCE_REF\tDm\nNO_GRAPH\tsecondary structure\tsecondary structure\t"
-          + "(|(|(|(||{|{||[|[||)|)|)|)||}|}|]|]\t0.0\nROWPROPERTIES\t"
+          + "(|(|(|(||{|{||[|[||)|)|)|)||}|}|]|]|\t0.0\nROWPROPERTIES\t"
           + "secondary structure\tscaletofit=true\tshowalllabs=true\tcentrelabs=false";
 
   @Test(groups = { "Functional" })
@@ -456,6 +460,12 @@ public class StockholmFileTest
   }
 
   @Test(groups = { "Functional" })
+  public void curlyWUSSsecondaryStructureForRNASequence() throws Exception
+  {
+    roundTripSSForRNA(aliFile, annFileCurlyWuss);
+  }
+
+  @Test(groups = { "Functional" })
   public void fullWUSSsecondaryStructureForRNASequence() throws Exception
   {
     roundTripSSForRNA(aliFile, annFileFullWuss);