982d69ac4a666c4ff32f7ed167f788b81d960285
hiram
  Wed Jun 17 12:30:05 2020 -0700
reduce the vertical space consumed by options and explanations refs #25555

diff --git src/hg/makeDb/doc/asmHubs/mkAsmStats.pl src/hg/makeDb/doc/asmHubs/mkAsmStats.pl
index 8cfdb7a..9f4ddf6 100755
--- src/hg/makeDb/doc/asmHubs/mkAsmStats.pl
+++ src/hg/makeDb/doc/asmHubs/mkAsmStats.pl
@@ -149,31 +149,31 @@
 }
 
 if ($assemblyTotal > 1) {
   print "
 </tbody>
 <tfoot><tr><th>TOTALS:</th><td align=center colspan=3>total assembly count&nbsp;${assemblyTotal}${doneMsg}</td>
   <td align=right>$commaSeqCount</td>
   <td align=right>$commaNuc</td>
   <td align=right>$commaGapCount</td>
   <td align=right>$commaGapSize</td>
   <td colspan=1>&nbsp;</td>
   </tr>
 ";
 
   # try extra column headers as last row for this very large index page
-  if ($vgpIndex) {
+  if ($vgpIndex && ($asmCount > 15)) {
   print "<tr><th>count</th>
   <th>common name<br>link&nbsp;to&nbsp;genome&nbsp;browser</th>
   <th>scientific name<br>and&nbsp;data&nbsp;download</th>
   <th>NCBI&nbsp;assembly</th>
   <th>sequence<br>count</th><th>genome&nbsp;size<br>nucleotides</th>
   <th>gap<br>count</th><th>unknown&nbsp;bases<br>(gap size sum)</th><th>masking<br>percent</th>
   </tr>
 ";
   }
 
   print "
 </tfoot>
 </table>
 ";