d58aec2ee04b5a1d5004b30a04696df4741c5023
braney
  Tue May 11 17:04:04 2021 -0700
check to make sure genark table exists before using it.

diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h
index 7ff8a99..1fcdbe2 100644
--- src/hg/inc/hubConnect.h
+++ src/hg/inc/hubConnect.h
@@ -10,30 +10,36 @@
 #ifndef HUBCONNECT_H
 #define HUBCONNECT_H
 
 #define defaultHubPublicTableName "hubPublic"
 /* Name of our table with list of public hubs. read only */
 
 #define hubPublicTableConfVariable    "hub.publicTableName"
 /* the name of the hg.conf variable to use something other than the default */
 
 #define defaultHubStatusTableName "hubStatus"
 /* Name of table that maintains status of hubs  read/write. */
 
 #define hubStatusTableConfVariable    "hub.statusTableName"
 /* the name of the hg.conf variable to use something other than the default */
 
+#define defaultGenArkTableName "genark"
+/* Name of table that maintains the names of hubs we'll automatically attach if referenced. */
+
+#define genArkTableConfVariable    "hub.genArkTableName"
+/* the name of the hg.conf variable to use something other than the default */
+
 #define hgHubCheckUrl      "hubCheckUrl"
 /* name of cgi variable containing hub name to check */
 
 #define hgHubDataText      "hubUrl"
 /* name of cgi variable containing new hub name */
 
 #define hgHubGenome        "genome"
 /* name of the cgi variable to specify a db within an assembly hub */
 
 #define hgHubDataClearText      "hubClear"
 /* name of cgi variable containing new hub name */
 
 #define hubTrackPrefix "hub_"
 /* The names of all hub tracks begin with this.  Use in cart. */