b7d662f066fea9db7d07960a403c014e079672d3 braney Mon Feb 12 13:33:41 2018 -0800 allow hub.txt file to be up to 16mg instead of 256K. diff --git src/hg/lib/trackHub.c src/hg/lib/trackHub.c index d571bfd..de0a075 100644 --- src/hg/lib/trackHub.c +++ src/hg/lib/trackHub.c @@ -603,31 +603,31 @@ if ( trackHubHash == NULL) return; hashMustRemove(trackHubHash, hub->name); } struct trackHub *trackHubOpen(char *url, char *hubName) /* Open up a track hub from url. Reads and parses hub.txt and the genomesFile. * The hubName is generally just the asciified ID number. */ { struct trackHub *hub = grabHashedHub(hubName); if (hub != NULL) return hub; -struct lineFile *lf = udcWrapShortLineFile(url, NULL, 256*1024); +struct lineFile *lf = udcWrapShortLineFile(url, NULL, 16*1024*1024); struct hash *hubRa = raNextRecord(lf); if (hubRa == NULL) errAbort("empty %s in trackHubOpen", url); // no errAbort when more records in hub.txt file: user can stuff // trackDb into it /* Allocate hub and fill in settings field and url. */ AllocVar(hub); hub->url = cloneString(url); hub->name = cloneString(hubName); hub->settings = hubRa; /* Fill in required fields from settings. */ trackHubRequiredSetting(hub, "hub"); trackHubRequiredSetting(hub, "email");