bfc432194b2d9561227ed39f44593a68d1c90842 angie Thu Jun 4 22:06:18 2026 -0700 Recombinant display: show informative only by default. diff --git src/hg/hgPhyloPlace/phyloPlace.c src/hg/hgPhyloPlace/phyloPlace.c index 7f5ea3143bb..f68ba78631e 100644 --- src/hg/hgPhyloPlace/phyloPlace.c +++ src/hg/hgPhyloPlace/phyloPlace.c @@ -2410,31 +2410,31 @@ TOOLTIP("Coordinate range, bounded by mutations explained by the acceptor node at lower " "coordinates and by the donor node at higher coordinates") "</th>"); if (isNotEmpty(recombinants->recombMutations)) { puts("<th>Show mutations" TOOLTIP("Click the button to show a diagram of mutations matching the donor and/or acceptor") "</th>"); } puts("</tr></thead><tbody>"); if (isNotEmpty(recombinants->recombMutations)) { // The user may change this using a checkbox in a dialog; keep a hidden input on the main page to be updated // by the dialog JS when the user clicks on the dialog checkbox, to keep the state in case they close and reopen // the dialog. - boolean informativeOnly = cartUsualBoolean(cart, "hgpp_informativeOnly", FALSE); + boolean informativeOnly = cartUsualBoolean(cart, "hgpp_informativeOnly", TRUE); cgiMakeHiddenVarWithIdExtra("hidden_showInformative", "hidden_showInformative", informativeOnly ? "1" : "0", NULL); // Likewise, the user may change fontSize using a select in the dialog. int fontSize = cartUsualInt(cart, "hgpp_recombFontSize", 10); char fontSizeString[64]; safef(fontSizeString, sizeof fontSizeString, "%d", fontSize); cgiMakeHiddenVarWithIdExtra("hidden_fontSize", "hidden_fontSize", fontSizeString, NULL); } struct dyString *dyRNodeId = dyStringNew(0); struct dyString *dyJs = dyStringNew(0); int rNum; struct recombinantInfo *ri; for (ri = recombinants, rNum = 0; ri != NULL; ri = ri->next, rNum++) { makeNiceNodeName(dyRNodeId, ri, descendants, sampleIds); printf("<tr><td>%s</td><td>%s</td><td>%s</td>", dyRNodeId->string, ri->recombClade, ri->recombLineage);