JAL-958 revised applet parameter documentation to standardise on long form 'normalise...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 24 Sep 2012 16:53:09 +0000 (17:53 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 24 Sep 2012 16:53:09 +0000 (17:53 +0100)
examples/appletParameters.html
src/jalview/appletgui/AlignViewport.java

index a03a3e0..106d977 100644 (file)
@@ -512,7 +512,7 @@ pageTracker._trackPageview();
           <td>true of false (default is false)</td>
           <td>When true, shows a sequence logo above the consensus sequence (overlaid above the Consensus Histogram, if visible, with symbols coloured using the alignment's default colourscheme). (<em>since 2.7</em>)</td>
           </tr>
-          <tr><td>normaliseLogo</td>
+          <tr><td>normaliseSequenceLogo</td>
           <td>true of false (default is false)</td>
           <td>When true, all sequence logos will be normalised (all symbol stacks add up to full height of annotation row), rather than being scaled according to the fraction of symbols identical to the consensus. (<em>since 2.8</em>)</td>
           </tr>
index e0a6a71..64907ac 100644 (file)
@@ -204,7 +204,7 @@ public class AlignViewport extends AlignmentViewport implements AlignViewportI,
 
       showSequenceLogo = applet.getDefaultParameter("showSequenceLogo", showSequenceLogo);
 
-      normaliseSequenceLogo = applet.getDefaultParameter("normaliseSequenceLogo", normaliseSequenceLogo);
+      normaliseSequenceLogo = applet.getDefaultParameter("normaliseSequenceLogo", applet.getDefaultParameter("normaliseLogo", normaliseSequenceLogo));
 
       showGroupConsensus = applet.getDefaultParameter("showGroupConsensus", showGroupConsensus);