7402d317166ea07760b9920c97a1b3d58198b7bf angie Wed Oct 9 11:04:04 2013 -0700 Updating links to Galaxy. refs #11898 diff --git src/hg/hgTables/galaxy.c src/hg/hgTables/galaxy.c index e200204..8139989 100644 --- src/hg/hgTables/galaxy.c +++ src/hg/hgTables/galaxy.c @@ -11,38 +11,39 @@ #include "web.h" #include "portable.h" #include "hui.h" #include "featureBits.h" #include "hgTables.h" #include "obscure.h" #include "cart.h" #include "grp.h" #include "net.h" #include "htmlPage.h" #include "wiggle.h" #include "trashDir.h" char *getGalaxyUrl() -/* returns the url for the galaxy cgi, based on script name */ +/* Returns the url for the galaxy cgi; default can be overriden by cart var GALAXY_URL. + * Don't free result. */ { char *url = NULL; /* use parameter if available */ if (cartVarExists(cart, "GALAXY_URL")) url = cartString(cart, "GALAXY_URL"); else - url = cloneString("http://main.g2.bx.psu.edu/tool_runner"); + url = GALAXY_URL_APP; return url; } void galaxyHandler (char *format, va_list args) /* error Handler that passes error on to Galaxy */ { char msg[512]; sprintf(msg, format, args); noWarnAbort(); } void sendParamsToGalaxy(char *doParam, char *paramVal) /* intermediate page for formats printed directly from top form */ { char *shortLabel = curTable;