Index: src/hg/instinct/bioInt2/populateDb.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/bioInt2/populateDb.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -b -B -U 4 -r1.11 -r1.12
--- src/hg/instinct/bioInt2/populateDb.c	20 May 2009 20:34:37 -0000	1.11
+++ src/hg/instinct/bioInt2/populateDb.c	18 Dec 2009 21:42:22 -0000	1.12
@@ -680,8 +680,13 @@
 else
     hash = el->val;
 
 int i;
+if (allA->numGroups != expCount) 
+    {
+      errAbort("expCount (%d) does not match microarrayGroups.ra number (%d)",
+               expCount, allA->numGroups);
+    }
 for (i = 0; i < expCount; i++)
     {
     float val = expScores[i];
     char *name;

