src/hg/instinct/lib/hgHeatmapLib.c 1.71

1.71 2010/05/26 21:29:17 cszeto
Added microscope toggle support, removed local_url support
Index: src/hg/instinct/lib/hgHeatmapLib.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/lib/hgHeatmapLib.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -b -B -U 4 -r1.70 -r1.71
--- src/hg/instinct/lib/hgHeatmapLib.c	7 May 2010 05:40:35 -0000	1.70
+++ src/hg/instinct/lib/hgHeatmapLib.c	26 May 2010 21:29:17 -0000	1.71
@@ -206,9 +206,9 @@
 gh->dataType = (char *)(hashMustFindVal(raHash, "dataType"));
 gh->accessTable = (char *)(hashFindVal(raHash, "accessTable"));
 if (!sqlTableExists(conn, gh->accessTable))
     gh->accessTable= NULL;
-gh->local_url = (char *)(hashFindVal(raHash, "local_url"));
+gh->microscope = (char *)(hashFindVal(raHash, "microscope"));
 gh->group = (char *)(hashFindVal(raHash, "group"));
 
 /* Settings on patient information from datasets.ra file */
 gh->raFile = (char *)(hashFindVal(raHash, "raFile"));
@@ -311,9 +311,9 @@
 gh->shortLabel  = cloneString(ra->shortLabel);
 gh->longLabel   = cloneString(ra->longLabel);
 gh->dataType    = cloneString(ra->dataType);
 gh->accessTable = cloneString(ra->accessTable);
-gh->local_url   = cloneString(ra->local_url);
+gh->microscope  = cloneString(ra->microscope);
 gh->group       = cloneString(ra->groupName);
 gh->raFile      = cloneString(ra->raFile);
 gh->patDb       = cloneString(ra->patDb);
 gh->patTable    = cloneString(ra->patTable);
@@ -346,9 +346,9 @@
 newGh->next = NULL;
 newGh->name = gh->name;
 newGh->shortLabel = gh->shortLabel;
 newGh->longLabel = gh->longLabel;
-newGh->local_url = gh->local_url;
+newGh->microscope = gh->microscope;
 newGh->accessTable= gh->accessTable;
 newGh->database= gh->database;
 newGh->dataType = gh->dataType;
 newGh->patDb= gh->patDb;