src/hg/lib/hgFind.c 1.216
1.216 2009/02/20 23:05:52 angie
Bugfix: addPslResultToHgp: strip initial all_ from tableName (we used to use the lowercased GenBank type!).
Index: src/hg/lib/hgFind.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/hgFind.c,v
retrieving revision 1.215
retrieving revision 1.216
diff -b -B -U 4 -r1.215 -r1.216
--- src/hg/lib/hgFind.c 20 Feb 2009 22:40:47 -0000 1.215
+++ src/hg/lib/hgFind.c 20 Feb 2009 23:05:52 -0000 1.216
@@ -1302,8 +1302,10 @@
table->htmlOnePos = mrnaHtmlOnePos;
slAddHead(&hgp->tableList, table);
dyStringPrintf(dy, "%s Alignments in %s", acc, shortLabel);
table->description = cloneString(dy->string);
+if (startsWith("all_", tableName))
+ tableName += 4;
table->name = cloneString(tableName);
slSort(&pslList, pslCmpScore);
for (psl = pslList; psl != NULL; psl = psl->next)
{