src/hg/hgTables/seqOut.c 1.20

1.20 2009/03/17 04:28:39 kent
Adding parameter to getHti, and creating a hti object for bigBed tables out of the associated .as information.
Index: src/hg/hgTables/seqOut.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/seqOut.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -b -B -U 4 -r1.19 -r1.20
--- src/hg/hgTables/seqOut.c	3 Sep 2008 19:18:59 -0000	1.19
+++ src/hg/hgTables/seqOut.c	17 Mar 2009 04:28:39 -0000	1.20
@@ -213,9 +213,9 @@
 
 void genomicFormatPage(struct sqlConnection *conn)
 /* Put up page asking for what sort of genomic sequence. */
 {
-struct hTableInfo *hti = getHti(database, curTable);
+struct hTableInfo *hti = getHti(database, curTable, conn);
 htmlOpen("%s Genomic Sequence", curTableLabel());
 if (doGalaxy())
     startGalaxyForm();
 else
@@ -242,9 +242,9 @@
 void doGenomicDna(struct sqlConnection *conn)
 /* Get genomic sequence (UI has already told us how). */
 {
 struct region *region, *regionList = getRegions();
-struct hTableInfo *hti = getHti(database, curTable);
+struct hTableInfo *hti = getHti(database, curTable, conn);
 int fieldCount;
 textOpen();
 for (region = regionList; region != NULL; region = region->next)
     {