genomehubs / demo

Example configurations to set up custom Ensembl sites using GenomeHubs
genomehubs.org
MIT License
2 stars 2 forks source link

Working install dir off of working directory #5

Closed ajs6f closed 6 years ago

ajs6f commented 6 years ago

https://github.com/genomehubs/demo/issues/4

This isn't ideal. It would be better to actually look at $0 and figure out where import.sh or demo.sh are and work from there. But I honestly didn't feel like going through all the OS-specific hoops for that and hopefully this is enough to help people avoid my little bug.

rjchallis commented 6 years ago

Thanks for the pull request (I'm back after a few weeks away or I'd have merged it sooner). I don't want the demo to get too complicated as it should be a quick test run so your simple approach to fixing the home directory assumption looks like a pragmatic solution.