src/hg/hgTables/compositeTrack.c 1.13

1.13 2009/03/13 21:40:33 kent
Making a sweep to make sure that bigWig is addressed everywhere bedGraph is addressed.
Index: src/hg/hgTables/compositeTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/compositeTrack.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -b -B -U 4 -r1.12 -r1.13
--- src/hg/hgTables/compositeTrack.c	3 Sep 2008 19:18:58 -0000	1.12
+++ src/hg/hgTables/compositeTrack.c	13 Mar 2009 21:40:33 -0000	1.13
@@ -183,9 +183,9 @@
 hPrintf("<H3>Select a subset of subtracks to merge:</H3>\n");
 hCompositeUi(database, cart, curTrack, curTable, hgtaDoSubtrackMergePage, "mainForm");
 
 hPrintf("<H3>Select a merge operation:</H3>\n");
-if (isWiggle(database, curTable) || isBedGraph(curTable))
+if (isWiggle(database, curTable) || isBedGraph(curTable) || isBigWig(curTable))
     showWiggleMergeOptions(primary->longLabel);
 else
     showBedMergeOptions();
 hPrintf("If a filter is specified on the main Table Browser page, it will "
@@ -211,9 +211,9 @@
 dyStringPrintf(dy, "Subtrack merge, primary table = %s (%s)\n",
 	       curTable, primary->longLabel);
 dyStringAppend(dy, linePrefix);
 dyStringPrintf(dy, "Subtrack merge operation: ");
-if (isWiggle(database, curTable) || isBedGraph(curTable))
+if (isWiggle(database, curTable) || isBedGraph(curTable) || isBigWig(curTable))
     {
     char *op = cartString(cart, hgtaSubtrackMergeWigOp);
     dyStringPrintf(dy, "%s of %s and selected subtracks:\n", op, curTable);
     }