update author list in license for (JAL-826)
[jalview.git] / src / jalview / gui / AnnotationPanel.java
index 0e90a5e..a88aa4a 100755 (executable)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6)
- * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
+ * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
  * 
  * This file is part of Jalview.
  * 
@@ -1557,14 +1557,6 @@ public class AnnotationPanel extends JPanel implements MouseListener,
         if (profl != null)
         {
 
-          /*
-           * if (profl != null) {
-           * 
-           * for (int i = 0; i < profl.length; i++) { System.out.print(profl[i]
-           * + ","); }
-           * 
-           * }
-           */
           int ht = y1, htn = y2 - y1;// aa.graphHeight;
           float wdth;
           double ht2 = 0;
@@ -1677,7 +1669,7 @@ public class AnnotationPanel extends JPanel implements MouseListener,
           //TODO check what happens for group selections
           return StructureFrequency.extractProfile(
                   aa.groupRef.consensusData[column], aa.groupRef
-                          .getIgnoreGapsConsensus(),column);
+                          .getIgnoreGapsConsensus());
         }
         // TODO extend annotation row to enable dynamic and static profile data
         // to
@@ -1686,10 +1678,9 @@ public class AnnotationPanel extends JPanel implements MouseListener,
                 && av.isShowSequenceLogo())
         {
           return StructureFrequency.extractProfile(av.hStrucConsensus[column],
-                  av.getIgnoreGapsConsensus(),column);
+                  av.getIgnoreGapsConsensus());
         }
       }
-
     }
     return null;
   }