00423dc0b59a930bd39fc75597abdf90752faf34 braney Thu Aug 11 21:00:42 2016 -0700 removing mention of gbStatus table diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c index 81ce912..0d6273d 100644 --- src/hg/lib/hgFind.c +++ src/hg/lib/hgFind.c @@ -1604,43 +1604,33 @@ char hgAppCombiner = (strchr(hgAppName, '?')) ? '&' : '?'; char *mrnaTable = isXeno ? "xenoMrna" : "all_mrna"; boolean mrnaTableExists = hTableExists(hgp->database, mrnaTable); AllocVar(table); /* Examine all accessions to see if they fit criteria for * this table. Add all matching to the position list, and * remove from the accession list */ for (el = *pAccList; el != NULL; el = el->next) { freez(&elToFree); acc = el->name; /* check if item matches xeno criterion */ - if (hTableExists(db, "gbStatus")) - { - sqlSafef(query, sizeof(query), - "select (orgCat = 'native' && srcDb != 'RefSeq') from gbStatus where acc = '%s'", acc); /* redmine #3301 */ - if (isXeno == sqlQuickNum(conn, query)) - continue; - } - else - { int itemOrganismID = hashIntVal(accOrgHash, acc); if (isXeno == (itemOrganismID == organismID)) continue; - } /* check if item matches alignment criterion */ if (aligns != (mrnaTableExists && mrnaAligns(conn, mrnaTable, acc))) continue; /* item fits criteria, so enter in table */ AllocVar(pos); slAddHead(&table->posList, pos); pos->name = cloneString(acc); pos->browserName = cloneString(acc); dyStringClear(dy); if (aligns) { dyStringPrintf(dy, "