3d8312d50d53884f52bfff6cefde460541376566 braney Wed Nov 27 15:24:15 2019 -0800 get slightly better at recognizing what people mean by specifying bigBed fields that aren't in the AS file. refs #24562 diff --git src/hg/inc/hui.h src/hg/inc/hui.h index 0d2022d..224346a 100644 --- src/hg/inc/hui.h +++ src/hg/inc/hui.h @@ -1512,16 +1512,19 @@ /* Build up a hash of a list of fields in an AS file. */ char *checkDataVersion(char *database, struct trackDb *tdb); /* see if trackDb has a dataVersion setting and check that file for version */ void printDataVersion(char *database, struct trackDb *tdb); /* If this annotation has a dataVersion setting, print it. * check hgFixed.trackVersion, meta data and trackDb 'dataVersion'. */ 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. */ #endif /* HUI_H */