src/hg/lib/wiggleUtils.c 1.52
1.52 2009/08/21 21:19:36 braney
take out "first" change cuz I stupid
Index: src/hg/lib/wiggleUtils.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/wiggleUtils.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -b -B -U 4 -r1.51 -r1.52
--- src/hg/lib/wiggleUtils.c 20 Aug 2009 23:34:49 -0000 1.51
+++ src/hg/lib/wiggleUtils.c 21 Aug 2009 21:19:36 -0000 1.52
@@ -374,9 +374,10 @@
}
}
/* if we still don't have a spanList, or we got "first" for spanList,
* make up spanList by choosing the first span we find in the table */
-if (sameWord("NONE",tdbDefault) || sameWord("first",tdbDefault))
+//if (sameWord("NONE",tdbDefault) || sameWord("first",tdbDefault))
+else if( sameWord("first",tdbDefault))
{
char query[1024];
snprintf(query, sizeof(query), "SELECT span FROM %s limit 1", tdb->tableName );
char *tmpSpan = sqlQuickString(conn, query);