7ab80a269e80bce062ebc1af540df9c13f9efeeb angie Fri Sep 11 15:56:56 2020 -0700 Add GISAID's requested footer when displaying wuhCor1. diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 231bd00..2f23fa9 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -8983,30 +8983,43 @@ } /* now finish out the table */ if (group->next != NULL) controlGridEndRow(cg); } endControlGrid(&cg); } if (measureTiming) printTrackTiming(); hPrintf("</DIV>\n"); } if (showTrackControls) hButton("hgt.refresh", "refresh"); + +if (sameString(database, "wuhCor1")) + { + // GISAID wants this displayed on any page that shows any GISAID data + puts("<p class='centeredCol'>\n" + "GISAID data displayed in the Genome Browser are subject to GISAID's\n" + "<a href='https://www.gisaid.org/registration/terms-of-use/' " + "target=_blank>Terms and Conditions</a>.\n" + "SARS-CoV-2 genome sequences and metadata are available for download from\n" + "<a href='https://gisaid.org' target=_blank>GISAID</a> EpiCoV™.\n" + "</p>"); + } + hPrintf("</CENTER>\n"); #ifdef SLOW /* We'll rely on the end of program to do the cleanup. * It turns out that the 'free' routine on Linux is * quite slow. For chromosome level views the browser * spends about 1/3 of it's time doing the cleanup * below if it's enabled. Since we really don't * need to reclaim this memory at this point I'm * taking this out. Please don't delete the code though. * I'll like to keep it for testing now and then. -jk. */ // TODO GALT cleanup sibs too? probably can do for window copies but low priority. /* Clean up. */ for (track = trackList; track != NULL; track = track->next)