JAL-1369 HUGE WARNING: datamodel.HiddenSequences is NOT SAFE
authorJim Procter <jprocter@issues.jalview.org>
Tue, 21 Jun 2016 09:18:12 +0000 (10:18 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 21 Jun 2016 09:18:12 +0000 (10:18 +0100)
src/jalview/datamodel/HiddenSequences.java

index dcc5f26..0f57a02 100755 (executable)
@@ -254,6 +254,12 @@ public class HiddenSequences
     return alignmentIndex;
   }
 
+  /**
+   * makes a copy of the alignment with hidden sequences included. Using the
+   * copy for anything other than simple output is not recommended. Note - this
+   * method DOES NOT USE THE AlignmentI COPY CONSTRUCTOR!
+   * @return
+   */
   public AlignmentI getFullAlignment()
   {
     int isize = hiddenSequences.length;