429264c3158dd36342484a11b0289f929261e2eb ceisenhart Wed Nov 5 14:50:34 2014 -0800 Added a feature to bold canonical gene names on intermediate page when the user searches an ambiguous gene name (IE foxp2). diff --git src/hg/inc/hgFind.h src/hg/inc/hgFind.h index 1efbd1b..d6eaae6 100644 --- src/hg/inc/hgFind.h +++ src/hg/inc/hgFind.h @@ -58,28 +58,29 @@ void (*htmlStart)(struct hgPosTable *table, FILE *f); /* Print preamble to positions. */ void (*htmlOnePos)(struct hgPosTable *table, struct hgPos *pos, FILE *f); /* Print one position. */ void (*htmlEnd)(struct hgPosTable *table, FILE *f); /* Print end. */ }; struct hgPos /* A list of positions. */ { struct hgPos *next; /* Next in list. */ char *chrom; /* Chromosome. Not allocated here. */ int chromStart; /* Start position in chromosome. */ int chromEnd; /* End position in chromosome. */ char *name; /* Name of position - one word. */ char *description; /* Position description - a sentence or so. */ char *browserName; /* name as in hgTracks tg->itemName(). */ + bool canonical; /* The gene is the canonical version. */ }; void hgPositionsHelpHtml(char *organism, char *database); /* Display contents of dbDb.htmlPath for database, or print an HTML comment * explaining what's missing. */ char *hCarefulTrackOpenVis(char *db, char *trackName); /* If track is already in full mode, return full; otherwise, return * hTrackOpenVis. */ #endif /* HGFIND_H */