bddb262e29ccaea9bdf08d393f81375c66e5abb6 hiram Mon Dec 8 16:29:59 2025 -0800 fix the toga click code to use a simple local hideToggle class refs #35776 diff --git src/hg/hgc/togaClick.c src/hg/hgc/togaClick.c index f446ec6bb5b..9d8f957bbbf 100644 --- src/hg/hgc/togaClick.c +++ src/hg/hgc/togaClick.c @@ -611,55 +611,55 @@ } else { printf("
  • Middle 80 percent of CDS present: %s
  • \n", NO_); } printf("

    \n\n
    \n"); printf("

    Query protein sequence


    "); printf("Show protein sequence of query\n"); printf("\n"); // and show protein sequence htmlHorizontalLine(); printf("

    Protein sequence alignment


    \n"); printf("Show alignment between reference and query\n"); - printf("
    \n"); + printf("\n

    \n"); // do not forget to free toga data struct togaDataFree(&info); } else { // no data found, need to report this printf("

    No found data for %s

    \n", item); } sqlFreeResult(&sr); } // show inactivating mutations if required printf("

    List of inactivating mutations


    \n"); if (hTableExists(database, togaInactMutTableName)) { char query[256]; struct sqlResult *sr = NULL; char **row; sqlSafef(query, sizeof(query), "select * from %s where transcript='%s'", togaInactMutTableName, item); sr = sqlGetResult(conn, query); - printf("Show inactivating mutations\n"); - printf("
    \n"); + printf("Show inactivating mutations\n"); + printf("\n
    \n"); } else { printf("Sorry, cannot find TOGAInactMut table.
    \n"); } // show exons data htmlHorizontalLine(); printf("

    Exon alignments


    \n"); if (hTableExists(database, togaNuclTableName)) { char query[256]; struct sqlResult *sr = NULL; char **row; - printf("Show exon sequences and features\n"); - printf("
    \n"); + printf("Show exon sequences and features\n"); + printf("\n

    \n"); } else { printf("Sorry, cannot find TOGANucl table.
    \n"); } htmlHorizontalLine(); // TODO: check whether I need this printf("%s", hgTracksPathAndSettings()); - hPrintf(""); - hPrintf(""); - hPrintf(""); - printTrackHtml(tdb); // and do I need this? hFreeConn(&conn); }