7b92ad2a6057485c19c10962a9aa206a7f21b307 angie Fri Aug 24 14:00:31 2012 -0700 Bug #8878 (Table browser fails after entering bad filter settings):Change errAbort to warning with suggestion for how to fix. diff --git src/hg/hgTables/wiggle.c src/hg/hgTables/wiggle.c index 1d83ae6..251ea7c 100644 --- src/hg/hgTables/wiggle.c +++ src/hg/hgTables/wiggle.c @@ -119,33 +119,33 @@ /* Must get them both for this to work */ if (cmp && pat) { int wordCount = 0; char *words[2]; char *dupe = cloneString(pat); wordCount = chopString(dupe, ", \t\n", words, ArraySize(words)); switch (wordCount) { case 2: if (ul) *ul = sqlDouble(words[1]); case 1: if (ll) *ll = sqlDouble(words[0]); break; default: - warn("can not understand numbers input for dataValue filter"); - errAbort( - "dataValue filter must be one or two numbers (two for 'in range')"); + warn("dataValue filter must be one or two numbers (two for 'in range'). " + "Please click the filter edit button and either set the comparison to 'ignored' " + "or set the dataValue threshold."); } if (sameWord(cmp,"in range") && (wordCount != 2)) errAbort("'in range' dataValue filter must have two numbers input\n"); if (constraint) *constraint = cmp; return TRUE; } else return FALSE; } /* static boolean checkWigDataFilter() */ static void wigDataHeader(char *name, char *description, char *visibility,