915f56e3f34f66d58bf6573dc4dfddd068bd4090
angie
Tue Apr 19 13:36:48 2016 -0700
Simplify the generation of hgGateway's dbDbTaxonomy tree info and support mirrors better: new hg.conf setting hgGateway.dbDbTaxonomy enables tree display and specifies relative URL to file. Instead of dbDbTaxonomy.{hgwdev,rr}.js, there is only one dbDbTaxonomy.js, built from hgcentraltest (hgwdev). hgGateway.c's HTML output includes JS encoding the set of active genomes+taxIds. hgGateway.js uses that to prune the tree so it contains only active genomes; now we can use the hgwdev tree on the RR and see only RR species. Also updated dbDbTaxonomy.js to get the latest hgwdev species as of 4/18/16.
refs #15277
diff --git src/hg/hgGateway/hgGateway.html src/hg/hgGateway/hgGateway.html
index ea52519..34f17de 100644
--- src/hg/hgGateway/hgGateway.html
+++ src/hg/hgGateway/hgGateway.html
@@ -35,36 +35,37 @@
<div class="jwIconSpriteLabel">Fruitfly</div>
</div>
<div class="jwIconWrapper">
<div class="jwIconSprite jwIconSpriteWorm"></div>
<div class="jwIconSpriteLabel">Worm</div>
</div>
<div class="jwIconWrapper">
<div class="jwIconSprite jwIconSpriteYeast"></div>
<div class="jwIconSpriteLabel">Yeast</div>
</div>
<div>
<input id="speciesSearch" value="" size=40>
</div>
</div>
- <div class="jwSubsectionTitle">
+ <!-- This subsection is hidden unless hgGateway.js has a tree to draw. -->
+ <div id="representedSpeciesTitle" class="jwSubsectionTitle" style="display: none;">
Represented Species
</div>
- <div id="speciesGraphic" class="jwSubsectionContents">
+ <div id="speciesGraphic" class="jwSubsectionContents" style="display: none;">
<div id="sliderWidgetContainer" class="jwSliderWidget">
- <div id="sliderSvgContainer" class="jwSliderIcon" style="display: none;">
+ <div id="sliderSvgContainer" class="jwSliderIcon">
<svg id="sliderSvg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
height="53"
width="30">
<rect id="sliderRectangle"
ry="3"
y="1.5"
x="1.5"
height="50"
width="24"
style="fill: none; stroke: #222222; stroke-width: 3;"></rect>
<path id="sliderTriangle"
d="m 2.5,24 0,6 4,-3 z"