9696fdbc07a7c2f77524343f4dbe39d09638a6d9 hiram Tue Dec 11 22:11:36 2012 -0800 improve too much data message during custom track loading diff --git src/hg/lib/wigAsciiToBinary.c src/hg/lib/wigAsciiToBinary.c index b27ece3..81b9fab 100644 --- src/hg/lib/wigAsciiToBinary.c +++ src/hg/lib/wigAsciiToBinary.c @@ -362,31 +362,31 @@ overallLowerLimit = wigEncodeStartingLowerLimit; overallUpperLimit = wigEncodeStartingUpperLimit; binout = mustOpen(wibFile,"w"); /* binary data file */ wigout = mustOpen(wigFile,"w"); /* table row definition file */ #if defined(DEBUG) /* dbg */ chmod(wibFile, 0666); chmod(wigFile, 0666); #endif lf = lineFileOpen(wigAscii, TRUE); /* input file */ while (lineFileNext(lf, &line, NULL)) { boolean readingFrameSlipped; ++lineCount; if ((wibSizeLimit > 0) && (wibSize >= wibSizeLimit)) - errAbort("wibSizeLimit of %lld has been exceeded; you must use bedGraph's for files with more data points", wibSizeLimit); + errAbort("data size limit of %lld data values has been exceeded; you must use bigWig files for large datasets<BR><A HREF=\"/goldenPath/help/bigWig.html\">(bigWig help)</A>", wibSizeLimit); line = skipLeadingSpaces(line); /* ignore blank or comment lines */ if ((line == (char *)NULL) || (line[0] == '\0') || (line[0] == '#')) continue; /* !!! go to next line of input */ wordCount = chopByWhite(line, words, ArraySize(words)); if (sameWord("track",words[0])) { /* Allow (and ignore) one track line, but no more. */ ++trackCount; if (trackCount > 1) errAbort("Multiple tracks seen, second at line %d of %s, can only handle one.", lf->lineIx, lf->fileName);