080aff3c9de71d3a3ca71a0ae1bf758fe3d60208 kent Wed Nov 24 14:15:48 2021 -0800 Adding dotForUserEnd() function to help avoid unclosed lines of dots. diff --git src/inc/obscure.h src/inc/obscure.h index 062a0a0..6a9f60a 100644 --- src/inc/obscure.h +++ src/inc/obscure.h @@ -183,30 +183,33 @@ void *slListRandomReduce(void *list, double reduceRatio); /* Reduce list to approximately reduceRatio times original size. Destroys original list. */ void *slListRandomSample(void *list, int maxCount); /* Return a sublist of list with at most maxCount. Destroy list in process */ char *stripCommas(char *position); /* make a new string with commas stripped out */ void dotForUserInit(int dotMod); /* Set how often dotForUser() outputs a dot. */ void dotForUser(); /* Write out a dot every _dotForUserMod times this is called. */ +void dotForUserEnd(); +/* Write out new line at end of dots for user */ + 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. */ long long currentVmPeak(); /* return value of peak Vm memory usage (if /proc/ business exists) */