JAL-891; Tooltips for Structure logos implemented;
[jalview.git] / src / jalview / gui / AnnotationPanel.java
index 0e90a5e..9f0be75 100755 (executable)
@@ -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;
   }