5204eff985d536899de8e0ab38f5a736e88425df kent Tue Jul 29 08:17:39 2014 -0700 Adding CV_TERM_TREATMENT diff --git src/hg/inc/cv.h src/hg/inc/cv.h index 550c68d..961b0cd 100644 --- src/hg/inc/cv.h +++ src/hg/inc/cv.h @@ -57,30 +57,31 @@ #define CV_VALIDATE_INT "integer" #define CV_VALIDATE_LIST "list:" #define CV_VALIDATE_REGEX "regex:" #define CV_VALIDATE_NONE "none" // CV TERMS (NOTE: UGLY Terms in cv.ra are hidden inside cv.c APIS) #define CV_TERM_GRANT "grant" #define CV_TERM_LAB "lab" #define CV_TERM_CELL "cell" #define CV_TERM_ANTIBODY "antibody" #define CV_TERM_CONTROL "control" #define CV_TERM_DATA_TYPE "dataType" #define CV_TERM_LOCALIZATION "localization" #define CV_TERM_VIEW "view" #define CV_TERM_SEQ_PLATFORM "seqPlatform" +#define CV_TERM_TREATMENT "treatment" #define CV_LABEL_EMPTY_IS_NONE "None" void cvTermJson(struct dyString *json, char *type, struct hash *termHash); /* Print out CV term in JSON format. Currently just supports dataType, cellType, antibody * and antibody types */ void cvFileDeclare(const char *filePath); // Declare an altername cv.ra file to use // (The cv.ra file is normally discovered based upon CGI/Tool and envirnment) const char *cvFile(); // return default location of cv.ra const char *cvTypeNormalized(const char *sloppyTerm);