From 79b76c7dbb5322cb7b188035fb2fdf676ee974fa Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 18 Feb 2020 17:40:12 +0000 Subject: [PATCH] =?utf8?q?JAL-3529=20assert=20Uniprot=20refs=20must=20be=20p?= =?utf8?q?rovided=20as=20primary=20=E2=80=98AC=E2=80=99=20ref?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- test/jalview/io/StockholmFileTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jalview/io/StockholmFileTest.java b/test/jalview/io/StockholmFileTest.java index 9004cdf..a16aa07 100644 --- a/test/jalview/io/StockholmFileTest.java +++ b/test/jalview/io/StockholmFileTest.java @@ -114,7 +114,7 @@ public class StockholmFileTest String toStockholm = af.formatSequences(FileFormat.Stockholm, new Alignment(new SequenceI[] { sq }), false); - assertTrue(toStockholm.indexOf("P00224") > -1, + assertTrue(toStockholm.matches("AC\\s+P00224"), "Couldn't locate UNIPROT Accession in generated Stockholm file."); AlignmentI fromStockholm = af.readFile(toStockholm, DataSourceType.PASTE, FileFormat.Stockholm); -- 1.7.10.2