a2e61e016375032eb6250cf4d931979100808b80 galt Tue Aug 5 12:45:32 2014 -0700 Adding more flexibility so that if genomeSpace is not configured in hg.conf (or set to blank values), then it will be ignored, and GS will not appear in hgTables pages: mainPage, usage, etc. diff --git src/hg/hgTables/hgTables.h src/hg/hgTables/hgTables.h index 1aa95dc..767df67 100644 --- src/hg/hgTables/hgTables.h +++ src/hg/hgTables/hgTables.h @@ -1124,30 +1124,33 @@ /* check that specified assembly is acceptable for GREAT; errAbort if not */ void printGreatSubmitButtons(); /* print submit button to send query results to GREAT */ void startGreatForm(); /* start form to send parameters to GREAT, also send required params */ void doGetGreatOutput(void (*dispatch)()); /* Generate output that GREAT will read via doGetGreatResults. */ void doGreatTopLevel(); /* intermediate page for sending to GREAT directly from top form */ /* --------------- GenomeSpace functions --------------- */ +boolean isGenomeSpaceEnabled(); +/* genomeSpace is enabled by the presence of GS config settings. */ + boolean doGenomeSpace(); /* Has the send query results to GenomeSpace checkbox been selected? */ boolean checkGsReady(); /* check that GS requirements are met */ void doGsLogin(struct sqlConnection *conn); /* Process user password post. */ void gsSendToDM(); /* upload the generated file to DM */ void getBackgroundStatus(char *url); /* fetch status as the latest complete html block available */