faa36478617263d289e1edd79d8d941c36c4dd8c kent Wed Jun 8 14:30:46 2016 -0700 Adding ensureNamesCaseUnique library function to check for symbol conflicts in a case-insensitive way giving a symbol list. This is used to precheck when defining a SQL table from a tagStorm, since tagStorm is case sensitive but SQL is not. diff --git src/inc/obscure.h src/inc/obscure.h index 8b33c48..687399e 100644 --- src/inc/obscure.h +++ src/inc/obscure.h @@ -178,16 +178,19 @@ void rangeFromMinMaxMeanStd(double minVal, double maxVal, double mean, double std, double *retStart, double *retEnd); /* Given some basic statistical properties, set a range that will be good on a wide * range of biological data. */ void printVmPeak(); /* print to stderr peak Vm memory usage (if /proc/ business exists) */ boolean nameInCommaList(char *name, char *commaList); /* Return TRUE if name is in comma separated list. */ boolean endsWithWordComma(char *string, char *word); /* Return TRUE if string ends with word possibly followed by a comma, and the beginning * of word within string is the beginning of string or follows a comma. */ +void ensureNamesCaseUnique(struct slName *fieldList); +/* Ensure that there would be no name conflicts in fieldList if all fields were lower-cased. */ + #endif /* OBSCURE_H */