198c9b8daecc44fbda6a6494c566c723920f030a lrnassar Wed Mar 11 18:25:21 2026 -0700 Fixing a few hundred clear typos with the help of Claude. Some are less important in code comments, but majority of them are in user-facing places. I manually approved 60%+ of the changes and didn't see any that were an incorrect suggestion, at worst it was potentially uncessesary, like a code comment having cant instead of can't. No RM. diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index 087bc6f39c9..b2a8085c088 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -272,46 +272,45 @@ } } hubList = NULL; // hubList no longer valid puts("<p>Enter hub URLs below to connect hubs. Hubs connected this way are not accessible to " "other users by default.</p><p>If you wish to share your hub you can create a " "<a href=\"/goldenPath/help/hgSessionHelp.html\" style='color:#121E9A' target=_blank>session link</a>. " "First, connect the hub and configure the tracks image as desired, then navigate to " "<a href=\"/cgi-bin/hgSession\" style='color:#121E9A' target=_blank>My Sessions</a> (<b>My Data</b> > <b>My Sessions</b>). " "The resulting stable link can be added to publications and shared freely. We never delete them. You, as the author, " "also have the power to update the session contents freely. " "Alternatively, you may <a href=\"/goldenPath/help/hgTrackHubHelp.html#Sharing\" " "style='color:#121E9A' target=_blank>build a link with the hub URL</a> to allow users to retain their browser " "configuration, connected hubs, and custom tracks.</p>" - "</p>" - "<p>When you are ready to share you hub more widely, " + "<p>When you are ready to share your hub more widely, " "see our <a href=\"/goldenPath/help/publicHubGuidelines.html\" style='color:#121E9A'>public " "hub guidelines</A> for information on submitting a new public hub.</p>\n" ); if (unlistedHubCount == 0) { // nothing to see here printf("<tr><td style='text-align:left'>No connected track or assembly hubs.<p>To connect a hub:" "<ul><li>Enter its URL into the input box above and click 'Add Hub'. </li>" "<li>To quickly connect a single hub URL from the Genome Browser directly, use the keyboard shortcut 'c then h'" "<li>Alternatively, you can go to the 'Public Hubs' tab on this page and connect one " "of the hubs that were submitted to us. </li>" "<li>Another way to connect to hubs is via a direct connection link copied using the copy icon, shown on this page, when a hub is connected (adding &hubUrl=https://xxx to the URL). </li>" - "<li>You can also connect to hub by following a short link to a saved session, created though the menu " + "<li>You can also connect to a hub by following a short link to a saved session, created though the menu " "'My Data > My Sessions', if the Genome Browser had connected hubs when the session was saved.</li>" "</ul></td></tr>"); printf("</thead></table>\n"); puts("</FORM>"); // return from within DIV and FROM is probably not a good idea puts("</div></div>"); // tabSection and .unlistedHubs return; } // time to output the big table. First the header puts( "<tr> " "<th>Display</th> " "<th>Hub Name</th> " "<th>Description</th> " "<th>Assemblies<span class='assemblyClickNote'>Click to connect and browse directly. Click copy icon to copy URL to clipboard for sharing.</span></th> " @@ -495,31 +494,31 @@ "<li><a href=\"../goldenPath/help/hgTrackHubHelp.html\" style='color:#121E9A' TARGET=_blank>Track Hub User's Guide</a></li>\n" "<li><a href=\"../goldenPath/help/hgTrackHubHelp#Hosting\" style='color:#121E9A' target=_blank>Where to Host Your Track Hub</a></li>\n" "<li><a href=\"../goldenPath/help/trackDb/trackDbHub.html\" style='color:#121E9A' target=_blank>Track Hub Settings Reference</a></li>\n" "<li><a href=\"../goldenPath/help/publicHubGuidelines.html\" style='color:#121E9A' target=_blank>Guidelines for Submitting a Public Hub</a></li>\n" "</ul>\n" "<BR>You may also <a href='../contacts.html' style='color:#121E9A'>contact us</a> if you have any " "issues or questions on hub development."); puts("</div>"); // .tabSection puts("<div class='tabSection'>"); puts("<h4>Check a hub for errors</h4>"); printf("<label for=\"validateHubUrl\"><b>Hub URL:</b></label>"); printf("<input id='validateHubUrl' name='validateHubUrl' class='hubField' " "type='text' size='65'%s>\n", hubUrlVal); printf("<button type='button' id='hubValidateButton'>Check</button>\n"); -printf("  <span style='font-size:90%%' class='link' id='loadSampleHub'>Load Example URL</span>\n"); +printf(" <span style='font-size:90%%' class='link' id='loadSampleHub'>Load Example URL</span>\n"); puts("<div class='help'>Use the URL bar above to check a hub for errors. This will " "validate the hub's configuration files, including hub.txt, " "genomes.txt and trackDb.txt. " "It will also present a hierarchical tree of tracks with any errors in red. A hub " "with no errors still shows the tree which can be used to explore the track hierarchy. " "Hub error checking will always refresh the files and never use our remote file cache (see below)." "</div>\n " ); puts("</div>"); // .tabSection puts("<div class='tabSection'>"); puts("<h4>Enable Genome Browser debugging modes</h4>"); puts("<div class='help'>These apply to all connected hubs. By default, caching is activated and track load times are not shown, but you can change these settings while developing your hub:</div>"); puts("<div style='margin-left: 15px'>"); @@ -1439,31 +1438,31 @@ getDbAndGenome(cart, &database, &organism, oldVars); char headerText[1024]; safef(headerText, sizeof(headerText), "Hub Connect Successful"); cartWebStart(cart, NULL, "%s", headerText); struct trackHub *tHub = hub->trackHub; hPrintf("<P><B>Connected Hub: </B>%s</P>", tHub->shortLabel); hPrintf("<P><B>Hub Description:</B> %s</P>", tHub->longLabel); hPrintf("<P><B>Contact email:</B> <A HREF=\"mailto:%s\">%s</A>.</B> Use this contact for all data questions.</P>", tHub->email, tHub->email); struct trackHubGenome *genomeList = tHub->genomeList; -hPrintf("<P><B>Assemblies:</B> Select an assembly below to starting browsing the tracks of this hub:<P>"); +hPrintf("<P><B>Assemblies:</B> Select an assembly below to start browsing the tracks of this hub:<P>"); hPrintf("<ul>"); for(; genomeList; genomeList = genomeList->next) { char *desc = genomeList->description; if (desc==NULL) desc = hFreezeFromDb(genomeList->name); char *org = trackHubSkipHubName( genomeList->organism ); if (org==NULL) org = trackHubSkipHubName(hOrganism(genomeList->name)); hPrintf("<li>Open: <A href=\"../cgi-bin/hgTracks?db=%s&%s&position=lastDbPos\">%s: %s</A></li>",genomeList->name, cartSidUrlString(cart), org, desc);