src/lib/bwgCreate.c 1.17
1.17 2009/09/29 23:19:08 kent
Improving error message.
Index: src/lib/bwgCreate.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/bwgCreate.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -b -B -U 4 -r1.16 -r1.17
--- src/lib/bwgCreate.c 24 Sep 2009 20:07:38 -0000 1.16
+++ src/lib/bwgCreate.c 29 Sep 2009 23:19:08 -0000 1.17
@@ -993,11 +993,10 @@
if (sameString(section->chrom, nextSection->chrom))
{
if (section->end > nextSection->start)
{
- errAbort("data format error: sections overlap %s:%d-%d and %s:%d-%d",
- section->chrom, section->start+1, section->end,
- nextSection->chrom, nextSection->start+1, nextSection->end);
+ errAbort("There's more than one value for %s base %d (in coordinates that start with 1).\n",
+ section->chrom, nextSection->start+1);
}
}
}
}