dc1961d147a7bbc9e94689dc64bf6871c4cad494 ceisenhart Fri Jul 17 09:42:43 2015 -0700 Fixed a bug diff --git src/hg/expMatrixToJson/expMatrixToJson.c src/hg/expMatrixToJson/expMatrixToJson.c index e180bd5..b9e3989 100644 --- src/hg/expMatrixToJson/expMatrixToJson.c +++ src/hg/expMatrixToJson/expMatrixToJson.c @@ -129,31 +129,31 @@ { if (el == NULL) { warn("More names than items in list"); break; } char *fields[2]; if (strlen(line) > maxSize) maxSize = strlen(line); int fieldCount = chopTabs(line, fields); if (fieldCount >= 1) { el->name = cloneString(fields[0]); if (fieldCount >= 2) el->desc = cloneString(fields[1]); else - el->desc = cloneString("n/a"); + el->desc = cloneString("0"); } el = el->next; } if (el != NULL) errAbort("More items in matrix file than %s", nameFile); lineFileClose(&lf); return maxSize; } void printJsonNodeLine(FILE *f, struct jsonNodeLine *node) { fprintf(f," %s\"%s\"%s\"%s\"%s", "{","name", ":", node->name, ",");