8ac7605b1325f67e550acfbf18ee4d09ee71d4d8 braney Wed Aug 5 10:24:00 2015 -0700 increase a number that causes beds with more than 1024 blocks to not validate, even though they work fine after validation #14241 diff --git src/lib/basicBed.c src/lib/basicBed.c index a4b98d1..e344c81 100644 --- src/lib/basicBed.c +++ src/lib/basicBed.c @@ -1620,31 +1620,31 @@ { if (asTypesIsInt(type)) lineFileAllInts(lf, row, i, NULL, !asTypesIsUnsigned(type), asTypesIntSize(type), asTypesIntSizeDescription(type), FALSE); else if (asTypesIsFloating(type)) lineFileNeedDouble(lf, row, i); else if (type == t_string) { if (strlen(row[i]) > 255) lineFileAbort(lf, "expecting length (%llu) of string (%s) not to exceed 255 in field %s", (unsigned long long)strlen(row[i]), row[i], asCol->name); } } else if (asCol->isList) { if (asTypesIsInt(type)) { - count = lineFileAllIntsArray(lf, row, i, NULL, 1024, + count = lineFileAllIntsArray(lf, row, i, NULL, 10240, !asTypesIsUnsigned(type), asTypesIntSize(type), asTypesIntSizeDescription(type), FALSE); if (asCol->fixedSize > 0) { if (asCol->fixedSize != count) lineFileAbort(lf, "expecting %d elements in %s list, found %d", asCol->fixedSize, asCol->name, count); } else { if (!linkHash) lineFileAbort(lf, "linked field %s was not found; it is required for determining listSize of %s" , asCol->linkedSizeName, asCol->name); int listSize = hashIntValDefault(linkHash, asCol->linkedSizeName, -1); if (listSize == -1) lineFileAbort(lf, "linked field %s was not found; it is required for determining listSize of %s" , asCol->linkedSizeName, asCol->name);