97b899f21a0804a3f9e025fca3e1a785db9cb6fe braney Wed Oct 19 17:18:31 2022 -0700 get the clade, org, and db dropdowns in hgTables to work with curated hubs diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index 423f41c..ba43210 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -181,16 +181,18 @@ char *hubPublicTableName(); /* Get the name of the table that lists public hubs. Don't free the result. */ char *hubNameFromUrl(char *hubUrl); /* Given the URL for a hub, return its hub_# name. */ void addPublicHubsToHubStatus(struct cart *cart, struct sqlConnection *conn, char *publicTable, char *statusTable); /* Add urls in the hubPublic table to the hubStatus table if they aren't there already */ struct hash *buildPublicLookupHash(struct sqlConnection *conn, char *publicTable, char *statusTable, struct hash **pHash); /* Return a hash linking hub URLs to struct hubEntries. Also make pHash point to a hash that just stores * the names of the public hubs (for use later when determining if hubs were added by the user) */ +boolean hubConnectIsCurated(char *db); +/* Look in the dbDb table to see if this hub is curated. */ #endif /* HUBCONNECT_H */