d156aaa50bbe78b0c05da8cde9cd837d88d659fc chmalee Wed Aug 19 12:03:49 2020 -0700 hgc and hgTrackUi can query a 'relatedTrack' table to print a list of related tracks to the one being looked at along with a reason for the relation, refs #25721 diff --git src/hg/inc/hui.h src/hg/inc/hui.h index 2eb5db6..45b03de 100644 --- src/hg/inc/hui.h +++ src/hg/inc/hui.h @@ -1550,16 +1550,19 @@ void labelMakeCheckBox(struct cart *cart, struct trackDb *tdb, char *sym, char *desc, boolean defaultOn); /* add a checkbox for the user to select a component of a label (e.g. ID, name, other info). * NOTE: This does not have a track name argument, so the correct tdb must be passed in: * if setting is at composite level, then pass in composite tdb, likewise for view. */ int defaultFieldLocation(char *field); /* Sometimes we get bigBed filters with field names that are not in the AS file. * Try to guess what the user means. */ void printInfoIcon(char *mouseover); /* Print info icon (i) with explanatory text on mouseover * Uses jquery icon set, with style customized to GB in jquery-ui.css */ +void printRelatedTracks(char *database, struct hash *trackHash, struct trackDb *tdb, struct cart *cart); +/* Maybe print a "related track" section */ + #endif /* HUI_H */