31427a4b793b0765ee2eb1ab24d7ab073b47b2ac
braney
  Thu Apr 14 13:57:58 2016 -0700
fix silly bug in code that never gets executed unless something is seriuosly wrong.

diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 61becef..ff22cce 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -5522,37 +5522,32 @@
  * clause, and the results in the row ... is really tedious.
  * One of my main motivations for going to a more object
  * based rather than pure relational approach in general,
  * and writing 'autoSql' to help support this.  However
  * the pure relational approach wins for pure search speed,
  * and these RNA fields are searched.  So it looks like
  * the code below stays.  Be really careful when you modify
  * it.
  *
  * Uses the gbSeq table if available, otherwise use seq for older databases.
  */
 sqlDyStringAppend(dy,
                "select g.type,g.direction,"
                "so.name,o.name,l.name,m.name,"
                "se.name,t.name,dev.name,ce.name,cd.name,"
-               "des.name,a.name,gene.name,p.name,");
-if (haveGbSeq)
-    dyStringAppend(dy,
+               "des.name,a.name,gene.name,p.name,"
                "gbS.size,g.moddate,gbS.gbExtFile,gbS.file_offset,gbS.file_size ");
-else
-    dyStringAppend(dy,
-		   "se.size,se.gb_date,se.extFile,se.file_offset,se.file_size ");
 
 /* If the gbCdnaInfoTAble table has a "version" column then will show it */
 if (hasVersion)
     {
     dyStringAppend(dy,
                    ", g.version ");
     }
 
 sqlDyStringPrintf(dy,
                " from %s g,%s gbS,%s so,%s o,%s l,%s m,%s se,%s t,"
                "%s dev,%s ce,%s cd,%s des,%s a,%s gene,%s p"
                " where g.acc = '%s' and g.id = gbS.id ",
                gbCdnaInfoTable,seqTbl, sourceTable, organismTable, libraryTable, mrnaCloneTable, sexTable, tissueTable, developmentTable, cellTable, cdsTable, descriptionTable, authorTable, geneNameTable, productNameTable,  acc);
 dyStringAppend(dy,
                "and g.source = so.id and g.organism = o.id "