26035813ab48add6a3e10a7253dc5371942ee32f braney Wed May 18 12:28:33 2011 -0700 add a routine to find a name in a comma separate list (Jim wrote this but I'm moving it) diff --git src/inc/obscure.h src/inc/obscure.h index 910283c..42a4ab6 100644 --- src/inc/obscure.h +++ src/inc/obscure.h @@ -157,16 +157,18 @@ void spaceToUnderbar(char *s); /* Convert white space to underbar. */ void rangeRoundUp(double start, double end, double *retStart, double *retEnd); /* Round start and end so that they cover a slightly bigger range, but with more round * numbers. For instance 0.23:9.89 becomes 0:10 */ 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. */ #endif /* OBSCURE_H */