90a667c5e3a686b1a51b5a8288f4843d90107e26 kate Tue Oct 9 12:25:04 2018 -0700 Fix misspelled error message. diff --git src/hg/hgc/barChartClick.c src/hg/hgc/barChartClick.c index f1fc9a6..73810d3 100644 --- src/hg/hgc/barChartClick.c +++ src/hg/hgc/barChartClick.c @@ -180,31 +180,31 @@ bits64 size = (bits64)bed->_dataLen; udcSeek(f, offset); bits64 seek = udcTell(f); if (udcTell(f) != offset) warn("UDC seek mismatch: expecting %Lx, got %Lx. ", offset, seek); char *buf = needMem(size+1); bits64 count = udcRead(f, buf, size); if (count != size) warn("UDC read mismatch: expecting %Ld bytes, got %Ld. ", size, count); char **vals; AllocArray(vals, wordCt); buf[size]=0; // in case that size does not include the trailing newline int gotWordCt = chopByWhite(buf, vals, wordCt); if (gotWordCt != wordCt) - warn("Matrix format error: expected %d words, but got %d. File %s, on line for gene %s, at offset %llu, with line lenght %llu", wordCt, gotWordCt, dataFile, bed->name, offset, size); + warn("Matrix format error: expected %d words, but got %d. File %s, on line for gene %s, at offset %llu, with line length %llu", wordCt, gotWordCt, dataFile, bed->name, offset, size); udcFileClose(&f); // Construct list of sample data with category struct barChartItemData *sampleVals = NULL, *data = NULL; int i; for (i=1; i<wordCt && samples[i] != NULL; i++) { char *sample = samples[i]; char *categ = (char *)hashFindVal(sampleHash, sample); if (categ == NULL) warn("barChart track %s: unknown category for sample %s", tdb->track, sample); else if (hashLookup(categoryHash, categ)) { AllocVar(data);