2d0f1f1f85b147f9176abe594f56106b364229e8 angie Mon Sep 12 14:09:52 2022 -0700 trackHubOpen doesn't actually connect the hub; use hubConnectLoadHubs so if/when the user selects the hub, it is connected. diff --git src/hg/hgPhyloPlace/hgPhyloPlace.c src/hg/hgPhyloPlace/hgPhyloPlace.c index 64b1e8e..6e1678e 100644 --- src/hg/hgPhyloPlace/hgPhyloPlace.c +++ src/hg/hgPhyloPlace/hgPhyloPlace.c @@ -76,31 +76,31 @@ * return hGenome(db). */ { char *label = NULL; if (sameString(trackHubSkipHubName(db), "GCF_014621545.1")) label = cloneString("hMPXV"); else label = hGenome(db); return label; } static void selectDb(char **pDb, char **pLabel) /* Search for assembly config.ra files in hgPhyloPlaceData. If there is more than one * supported assembly, then make a menu / select input for supported assemblies; * reload the page on change. */ { -struct slName *supportedDbs = phyloPlaceDbList(); +struct slName *supportedDbs = phyloPlaceDbList(cart); if (supportedDbs == NULL) errAbort("Sorry, this server is not configured to perform phylogenetic placement."); if (!slNameInList(supportedDbs, *pDb)) { *pDb = cloneString(supportedDbs->name); } *pLabel = labelForDb(*pDb); int supportedDbCount = slCount(supportedDbs); if (supportedDbCount > 1) { char *labels[supportedDbCount]; char *values[supportedDbCount]; struct slName *sDb; int i; for (sDb = supportedDbs, i = 0; i < supportedDbCount; sDb = sDb->next, i++)