JAL-2154 javadoc, fix underloaded version of assertDatasetIsNormalised
authorJim Procter <jprocter@issues.jalview.org>
Tue, 30 Aug 2016 13:44:49 +0000 (14:44 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 30 Aug 2016 13:44:49 +0000 (14:44 +0100)
test/jalview/datamodel/AlignmentTest.java

index 5568c8c..7ad9436 100644 (file)
@@ -431,8 +431,18 @@ public class AlignmentTest
 
   public static void assertDatasetIsNormalised(AlignmentI al)
   {
-    assertAlignmentDatasetRefs(al, null);
+    assertDatasetIsNormalised(al, null);
   }
+
+  /**
+   * checks that the sequence data for an alignment's dataset is non-redundant.
+   * Fails if there are sequences with same id, sequence, start, and.
+   * 
+   * @param al
+   *          - alignment to verify
+   * @param message
+   *          - null or message prepended to exception message.
+   */
   public static void assertDatasetIsNormalised(AlignmentI al, String message)
   {
     if (al.getDataset()!=null)