404563416231e2b5a57eeee4fe09b0d9d2b77e60 max Wed Apr 2 05:50:41 2014 -0700 changing hgLiftOver strategy in the browserbox: downloading liftoverfiles to local disk instead of streaming them through http, refs #11957 and refs #12717 diff --git src/hg/lib/liftOver.c src/hg/lib/liftOver.c index 112dcb1..0834015 100644 --- src/hg/lib/liftOver.c +++ src/hg/lib/liftOver.c @@ -1832,31 +1832,31 @@ /* Get filename of liftOver chain */ { struct sqlConnection *conn = hConnectCentral(); struct liftOverChain *chain = NULL; char query[1024]; char *path = NULL; if (conn) { sqlSafef(query, sizeof(query), "select * from liftOverChain where fromDb='%s' and toDb='%s'", fromDb, toDb); chain = liftOverChainLoadByQuery(conn, query); if (chain != NULL) { - path = hReplaceGbdb(chain->path); + path = cloneString(chain->path); liftOverChainFree(&chain); } hDisconnectCentral(&conn); } return path; } char *liftOverErrHelp() /* Help message explaining liftOver failures */ { return "Deleted in new:\n" " Sequence intersects no chains\n" "Partially deleted in new:\n" " Sequence insufficiently intersects one chain\n"