From bdbfa9a122bc32d4d216d8d98bda898e0614ea13 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 30 Sep 2021 09:35:57 +0100 Subject: [PATCH] JAL-2909 pass a dummy sequence object to receive features. Ideally we should test that features look like they are expected too here ! --- test/jalview/datamodel/CigarParserTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/jalview/datamodel/CigarParserTest.java b/test/jalview/datamodel/CigarParserTest.java index 476721c..f81ff20 100644 --- a/test/jalview/datamodel/CigarParserTest.java +++ b/test/jalview/datamodel/CigarParserTest.java @@ -101,7 +101,8 @@ public class CigarParserTest rec.setAlignmentStart(start); CigarParser cp = new CigarParser('-'); - String bfresult = cp.parseCigarToSequence(rec, insertions, 1, null); + Sequence dummy = new Sequence("dummy",""); + String bfresult = cp.parseCigarToSequence(rec, insertions, 1, dummy); System.out.println(result); System.out.println(bfresult); -- 1.7.10.2