quickfix for applet when opening relative URLs from feature file : https://mantis...
[jalview.git] / src / jalview / analysis / Conservation.java
index f276a55..31a4b66 100755 (executable)
@@ -45,9 +45,10 @@ public class Conservation
   Hashtable[] total;
 
   boolean canonicaliseAa = true; // if true then conservation calculation will
-                                  // map all symbols to canonical aa numbering
-                                  // rather than consider conservation of that
-                                  // symbol
+
+  // map all symbols to canonical aa numbering
+  // rather than consider conservation of that
+  // symbol
 
   /** Stores calculated quality values */
   public Vector quality;
@@ -95,7 +96,7 @@ public class Conservation
     this.end = end;
 
     maxLength = end - start + 1; // default width includes bounds of
-                                  // calculation
+    // calculation
 
     int s, sSize = sequences.size();
     SequenceI[] sarray = new SequenceI[sSize];
@@ -112,8 +113,8 @@ public class Conservation
   }
 
   /**
-   * Translate sequence i into a numerical 
-   * representation and store it in the i'th position of the seqNums array.
+   * Translate sequence i into a numerical representation and store it in the
+   * i'th position of the seqNums array.
    * 
    * @param i
    */
@@ -146,7 +147,7 @@ public class Conservation
         }
 
         sqnum = new int[len + 1]; // better to always make a new array -
-                                  // sequence can change its length
+        // sequence can change its length
         sqnum[0] = sq.hashCode();
 
         for (j = 1; j <= len; j++)
@@ -276,7 +277,8 @@ public class Conservation
   }
 
   /*****************************************************************************
-   * count conservation  for the j'th column of the alignment
+   * count conservation for the j'th column of the alignment
+   * 
    * @return { gap count, conserved residue count}
    */
   public int[] countConsNGaps(int j)
@@ -477,8 +479,7 @@ public class Conservation
        * maxj = -1;
        * 
        * for (int j=0;j<24;j++) { if (cons2[i][j] > max) { max = cons2[i][j];
-       * maxi = i; maxj = j; }
-       *  } }
+       * maxi = i; maxj = j; } } }
        */
     }
   }