From: Jim Procter Date: Tue, 9 May 2017 17:18:27 +0000 (+0100) Subject: JAL-2507 spit out tests for ‘{‘ WUSS io from ‘[‘ WUSS io (which may be causing proble... X-Git-Tag: Release_2_10_2~3^2~88^2~9 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e202d4b4d2c9a8b535f4c117d76110d593fa450e;p=jalview.git JAL-2507 spit out tests for ‘{‘ WUSS io from ‘[‘ WUSS io (which may be causing problems via JAL-1863) --- diff --git a/test/jalview/io/StockholmFileTest.java b/test/jalview/io/StockholmFileTest.java index f6b39af..19df525 100644 --- a/test/jalview/io/StockholmFileTest.java +++ b/test/jalview/io/StockholmFileTest.java @@ -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);