src/hg/hgGene/hgGene.c 1.119
1.119 2010/02/23 23:03:37 kent
Removing another dependency on hgg_gene for a purely informational page.
Index: src/hg/hgGene/hgGene.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGene/hgGene.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -b -B -U 4 -r1.118 -r1.119
--- src/hg/hgGene/hgGene.c 23 Feb 2010 20:35:36 -0000 1.118
+++ src/hg/hgGene/hgGene.c 23 Feb 2010 23:03:37 -0000 1.119
@@ -585,8 +585,10 @@
getDbAndGenome(cart, &database, &genome, oldVars);
getGenomeSettings();
if (cartVarExists(cart, hggDoKgMethod))
doKgMethod();
+else if (cartVarExists(cart, hggDoTxInfoDescription))
+ doTxInfoDescription();
else
{
struct sqlConnection *conn = NULL;
char *geneName = cartUsualString(cart, hggGene, NULL);
@@ -612,10 +614,8 @@
if (cartVarExists(cart, hggDoGetMrnaSeq))
doGetMrnaSeq(conn, curGeneId, curGeneName);
else if (cartVarExists(cart, hggDoWikiTrack))
doWikiTrack(conn);
- else if (cartVarExists(cart, hggDoTxInfoDescription))
- doTxInfoDescription(conn);
else if (cartVarExists(cart, hggDoGetProteinSeq))
doGetProteinSeq(conn, curGeneId, curGeneName);
else if (cartVarExists(cart, hggDoRnaFoldDisplay))
doRnaFoldDisplay(conn, curGeneId, curGeneName);