0bfc44e10a7e52c9435a8be1aba871ce19cc509d braney Thu Aug 18 12:30:00 2011 -0700 check to see if hub is okay after adding a myHub #4679 diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index 47c8793..a8a5656 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -247,52 +247,58 @@ if (gotAnyRows) { printf("\n"); } else { printf("
clearing hub %s\n",url); if (url != NULL) hubClearStatus(url); else errAbort("must specify url in %s\n", hgHubDataText); printf(""); // this the form for the disconnect hub button printf(""); // this the form for the reset hub button @@ -397,31 +406,31 @@ // we have two tabs for the public and unlisted hubs printf("Completed\n"); } @@ -353,31 +359,34 @@ "Track data hubs are collections of tracks from outside of UCSC that " "can be imported into the Genome Browser. To import a public hub check " "the box in the list below. " "After import the hub will show up as a group of tracks with its own blue " "bar and label underneath the main browser graphic, and in the " "configure page. For more information, see the " "" "User's Guide.
\n" ); printf("\n"); // figure out and print out genome name makeGenomePrint(); // check to see if we have any new hubs -boolean gotNew = hubCheckForNew(database, cart); +unsigned newId = hubCheckForNew(database, cart); + +if (newId) + tryHubOpen(newId); // here's a little form for the add new hub button printf("