caaf5cefb276c8f48858912d249156bcb45477d3 tdreszer Wed Apr 20 14:55:34 2011 -0700 Support for cv.ra typeOfTerm hidden being alpha,beta,public diff --git src/hg/inc/cv.h src/hg/inc/cv.h index 4477e55..ddad220 100644 --- src/hg/inc/cv.h +++ src/hg/inc/cv.h @@ -69,23 +69,26 @@ { cvNotSearchable =0, // Txt is default cvSearchByMultiSelect =1, // Search by drop down multi-select of supplied list (NOT YET IMPLEMENTED) cvSearchBySingleSelect =2, // Search by drop down single-select of supplied list cvSearchByFreeText =3, // Search by free text field (NOT YET IMPLEMENTED) cvSearchByDateRange =4, // Search by discovered date range (NOT YET IMPLEMENTED) cvSearchByIntegerRange =5 // Search by discovered integer range (NOT YET IMPLEMENTED) }; enum cvSearchable cvSearchMethod(char *term); // returns whether the term is searchable const char *cvLabel(char *term); // returns cv label if term found or else just term +boolean cvTermIsHidden(char *term); +// returns TRUE if term is defined as hidden in cv.ra + char *cvLabNormalize(char *sloppyTerm); /* CV inconsistency work-arounds. Return lab name trimmed of parenthesized trailing * info (a few ENCODE labs have this in metaDb and/or in CV term -- * PI name embedded in parens in the CV term). Also fixes other problems until * cleaned up in CV, metaDb and user processes. Caller must free mem. */ #endif /* CV_H */