daler/trackhub — pull request #14 by jgoldmann (2014-12-22 14:20:17+00:00)
Title: fixed issue with relative path to trackdb file

Hi daler,

I had some problems with the reference from the genomes file to the trackdb file. If generating the trackhub in any directory other than the current working directory, the reference will be broken after uploading the trackhub to its remote location.
Instead, giving the path of the trackdb relative to the hub file circumvents this problem. It is implemented here in a similar way as in the [hub file](https://github.com/daler/trackhub/blob/master/trackhub/hub.py) in line 104 - 106.

Best, Jakob