d6709bfb566932f938be236be3a20c2c15e4c205 kate Tue Apr 12 18:38:51 2011 -0700 Normalize CV inconsistencies. Remove uninformative experimental vars diff --git src/hg/inc/cv.h src/hg/inc/cv.h index 65fbc63..4477e55 100644 --- src/hg/inc/cv.h +++ src/hg/inc/cv.h @@ -69,17 +69,23 @@ { 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 +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 */