c7723adc566681d4f69232076df356c36aa5a1cf max Fri Sep 9 16:03:22 2016 -0700 adding first versin of pipeline for crispr tracks and trackDb statements supporting external extra fields, refs #17235 diff --git src/hg/inc/hui.h src/hg/inc/hui.h index cd7f8aa..4a57e87 100644 --- src/hg/inc/hui.h +++ src/hg/inc/hui.h @@ -1361,30 +1361,33 @@ struct extraField *extraFieldsFind(struct extraField *extras, char *name); // returns the extraField matching the name (case insensitive). Note: slNameFind does NOT work. void extraFieldsFree(struct extraField **pExtras); // frees all mem for extraFields list #endif///def EXTRA_FIELDS_SUPPORT struct asObject *asFromTableDescriptions(struct sqlConnection *conn, char *table); // If there is a tableDescriptions table and it has an entry for table, return // a parsed autoSql object; otherwise return NULL. struct asObject *asForTdb(struct sqlConnection *conn, struct trackDb *tdb); // Get autoSQL description if any associated with table, ignoring errAborts if any. +struct asObject *asForDb(struct trackDb *tdb, char* database); +/* return asObject given a database name. NULL if not found */ + struct asColumn *asColumnFind(struct asObject *asObj, char *name); // Return named column. struct slName *asColNames(struct asObject *as); // Get list of column names. /********************/ /* Basic info for controlled vocabulary terms (e.g. to display for composites, or cluster tracks */ char *vocabLink(struct hash *vocabFieldHash, char *term, char *title); /* Make an anchor with mouseover containing description and link if present */ struct hash *vocabBasicFromSetting(struct trackDb *parentTdb, struct cart *cart); /* Get description and URL for all vocabTables. Returns a hash of hashes */