");
startSmallCollapsibleSection(sectionName, "filter items", FALSE);
//#*** Also watch out for noScoreFilter or whatever it's called
puts("minimum peak score [0-1000]: ");
safef(cartVar, sizeof(cartVar), "hgva_filter_%s_score", tdb->track);
char *defaultScore = cartUsualString(cart, cartVar, "0");
printf(" ",
cartVar, defaultScore);
puts("
");
endCollapsibleSection();
@@ -1297,35 +1291,33 @@
*
* Eventually, we might want a FormatVep that produces structs that are passed
* forward to multiple output writers... I would want to send it lots of gratorData
* like a formatter, but it would produce rows like an annoGrator.
* Maybe annoGrators should accept a bunch of input rows like formatters?
* or would this grator wrap all the input grators inside?
*/
void doMainPage()
/* Print out initial HTML of control page. */
{
jsInit();
webIncludeResourceFile("jquery-ui.css");
webIncludeResourceFile("ui.dropdownchecklist.css");
boolean alreadyAgreed = cartUsualBoolean(cart, "hgva_agreedToDisclaimer", FALSE);
-char javascript[1024];
-safef(javascript, sizeof javascript,
+jsInlineF(
"$(document).ready(function() { hgva.disclaimer.init(%s, hgva.userClickedAgree); });\n"
, alreadyAgreed ? "true" : "false");
-jsInline(javascript);
addSomeCss();
printAssemblySection();
puts(" ");
// Make wrapper table for collapsible sections:
selectVariants();
char *geneTrack = selectGenes();
if (geneTrack != NULL)
{
selectRegulatory();
selectAnnotations(geneTrack);
selectFilters();
selectOutput();
submitAndDisclaimer();
}