0d1ffc7e1c162f115ffa1622a70535b99c465ee0 kate Tue Jan 20 18:12:40 2015 -0800 Add inputFieldMetaTables setting to trackDb. It provides a way to add meta tables to non-composites (same functionality as subGroupMetaTables setting). Used in details of DNase clusters, to replace cv.ra and metaDb. refs #14353 diff --git src/hg/inc/hui.h src/hg/inc/hui.h index 7123bba..41b4886 100644 --- src/hg/inc/hui.h +++ src/hg/inc/hui.h @@ -1360,16 +1360,26 @@ // 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 *asForTdb(struct sqlConnection *conn, struct trackDb *tdb); // Get autoSQL description if any associated with table. struct asColumn *asColumnFind(struct asObject *asObj, char *name); // Return named column. struct slName *asColNames(struct asObject *as); // Get list of column names. + +/********************/ +/* Basic metadata for subgroups and input fields */ + +char *metaVocabLink(struct hash *metaFieldHash, char *term, char *title); +/* Make an anchor with mouseover containing description and link if present */ + +struct hash *metaBasicFromSetting(struct trackDb *parentTdb, struct cart *cart, char *setting); +/* Get description and URL for all metaTables. Returns a hash of hashes */ + #endif /* HUI_H */