36a19fa1208ae179c49a0067d69aa662e840e28d max Tue May 28 10:06:08 2013 -0700 forgot to remove a debugging printf statement diff --git src/hg/hgTracks/pubsTracks.c src/hg/hgTracks/pubsTracks.c index 6034812..0c57cd3 100644 --- src/hg/hgTracks/pubsTracks.c +++ src/hg/hgTracks/pubsTracks.c @@ -243,31 +243,31 @@ va_list args; va_start(args, format); dyStringVaPrintf(ds, format, args); va_end(args); } struct hash* searchForKeywords(struct sqlConnection* conn, char *articleTable, char *keywords) /* return hash with the articleIds that contain a given keyword in the abstract/title/authors */ { if (isEmpty(keywords)) return NULL; char query[12000]; safef(query, sizeof(query), "SELECT articleId FROM %s WHERE " "MATCH (citation, title, authors, abstract) AGAINST ('%s' IN BOOLEAN MODE)", articleTable, keywords); -printf("query %s", query); +//printf("query %s", query); struct slName *artIds = sqlQuickList(conn, query); if (artIds==NULL || slCount(artIds)==0) return NULL; // convert list to hash struct hash *hashA = hashNew(0); struct slName *el; for (el = artIds; el != NULL; el = el->next) hashAddInt(hashA, el->name, 1); freeMem(keywords); slFreeList(artIds); return hashA; } static void pubsLoadKeywordYearItems(struct track *tg)