JAL-2909 pass a dummy sequence object to receive features. Ideally we should test...
authorJim Procter <j.procter@dundee.ac.uk>
Thu, 30 Sep 2021 08:35:57 +0000 (09:35 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Thu, 30 Sep 2021 08:35:57 +0000 (09:35 +0100)
test/jalview/datamodel/CigarParserTest.java

index 476721c..f81ff20 100644 (file)
@@ -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);