0c8315e78d684221b53def0d7396d105dd45d560
braney
  Mon Apr 18 16:11:34 2016 -0700
back out a change I made to put allow the presence or abscence of a
version number that was including id's that were prefixed by the id we
were looking for.

diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 06e250a..3ffff67 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -5752,36 +5752,32 @@
 	}
     }
 }
 
 struct psl *getAlignments(struct sqlConnection *conn, char *table, char *acc)
 /* get the list of alignments for the specified acc */
 {
 struct sqlResult *sr = NULL;
 char **row;
 struct psl *psl, *pslList = NULL;
 boolean hasBin;
 char splitTable[64];
 char query[256];
 if (!hFindSplitTable(database, seqName, table, splitTable, &hasBin))
     errAbort("can't find table %s or %s_%s", table, seqName, table);
-if (startsWith("ucscRetro", table))
-    {
+
 sqlSafef(query, sizeof(query), "select * from %s where qName = '%s'", splitTable, acc);
-    }
-else
-    sqlSafef(query, sizeof(query), "select * from %s where qName like '%s%%'", splitTable, acc);
 sr = sqlGetResult(conn, query);
 while ((row = sqlNextRow(sr)) != NULL)
     {
     psl = pslLoad(row+hasBin);
     slAddHead(&pslList, psl);
     }
 sqlFreeResult(&sr);
 slReverse(&pslList);
 return pslList;
 }
 
 struct psl *loadPslRangeT(char *table, char *qName, char *tName, int tStart, int tEnd)
 /* Load a list of psls given qName tName tStart tEnd */
 {
 struct sqlResult *sr = NULL;