JAL-1619 refactored cDNA translation; modified codon comparison; tests
[jalview.git] / test / jalview / datamodel / AlignmentTest.java
index 2b1fc72..8912155 100644 (file)
@@ -125,7 +125,7 @@ public class AlignmentTest
      * Make mappings between sequences. The 'aligned cDNA' is playing the role
      * of what would normally be protein here.
      */
-    AlignedCodonFrame acf = new AlignedCodonFrame(al1.getWidth());
+    AlignedCodonFrame acf = new AlignedCodonFrame();
     MapList ml = new MapList(new int[]
     { 1, 12 }, new int[]
     { 1, 12 }, 1, 1);
@@ -171,7 +171,7 @@ public class AlignmentTest
      */
     AlignmentI al1 = loadAlignment(CDNA_SEQS_1, "FASTA");
     AlignmentI al2 = loadAlignment(AA_SEQS_1, "FASTA");
-    AlignedCodonFrame acf = new AlignedCodonFrame(al2.getWidth());
+    AlignedCodonFrame acf = new AlignedCodonFrame();
     MapList ml = new MapList(new int[]
     { 1, 12 }, new int[]
     { 1, 4 }, 3, 1);