e30e926564e223f37e02a3d0ba6b9f04b8d15fce
browser
  Thu Nov 6 09:15:13 2014 +0000
fixing bug where hgLiftOver would not map regions on the gbib. Also adding a progress message so the user has some idea what's going on.
diff --git src/hg/lib/liftOver.c src/hg/lib/liftOver.c
index 0a92c4f..b1c2e2e 100644
--- src/hg/lib/liftOver.c
+++ src/hg/lib/liftOver.c
@@ -1835,31 +1835,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 = hReplaceGbdbMustDownload(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"