5b204465085990ada8139c651688ac2bd215f4bf kent Mon Jul 12 15:13:27 2010 -0700 Taking some small steps towards implementing import of tracks from a data hub. Made trackDbFromRa take a url rather than a file as input by swapping in netLineFileOpen for lineFileOpen. Have a bunch of code that is compiled but not called (the call is ifdef'd out) that is starting to do some ofthe work, but that currently is crashing if ifdef'd back in. Just committing at this point so that I can do a git pull and grab everyone elses changes. I'm still learning how to work with half-baked things in git. ;-) diff --git src/hg/lib/trackDbCustom.c src/hg/lib/trackDbCustom.c index c0b5173..9be91da 100644 --- src/hg/lib/trackDbCustom.c +++ src/hg/lib/trackDbCustom.c @@ -10,6 +10,7 @@ #include "hui.h" #include "ra.h" #include "hash.h" +#include "net.h" #include "sqlNum.h" #include "obscure.h" #include "hgMaf.h" @@ -249,7 +250,7 @@ struct trackDb *trackDbFromRa(char *raFile) /* Load track info from ra file into list. */ { -struct lineFile *lf = lineFileOpen(raFile, TRUE); +struct lineFile *lf = netLineFileOpen(raFile); char *line, *word; struct trackDb *btList = NULL, *bt; boolean done = FALSE;