src/hg/instinct/bioInt2/bioIntUI.c 1.4
1.4 2009/03/29 03:31:05 jsanborn
fixed bug with correlated response
Index: src/hg/instinct/bioInt2/bioIntUI.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/bioInt2/bioIntUI.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/hg/instinct/bioInt2/bioIntUI.c 29 Mar 2009 01:40:43 -0000 1.3
+++ src/hg/instinct/bioInt2/bioIntUI.c 29 Mar 2009 03:31:05 -0000 1.4
@@ -410,9 +410,9 @@
slReverse(&spList);
int count;
struct json *js = newJson();
-struct json *corrs = jsonAddContainerList(js, "Top Correlated");
+struct json *corrs = jsonAddContainer(js, "Top Correlated");
for (sp = spList, count = 0; sp && (count < takeTop); sp = sp->next, count++)
{
struct slDouble *sd = sp->val;
if (sd->val < 0.0)
@@ -421,9 +421,9 @@
jsonAddDouble(corrs, sp->name, sd->val);
}
slReverse(&spList);
-corrs = jsonAddContainerList(js, "Top Anti-Correlated");
+corrs = jsonAddContainer(js, "Top Anti-Correlated");
for (sp = spList, count = 0; sp && (count < takeTop); sp = sp->next, count++)
{
struct slDouble *sd = sp->val;
if (sd->val > 0.0)