maximilianh / cellBrowser

main repo: https://github.com/ucscGenomeBrowser/cellBrowser/ - Python pipeline and Javascript scatter plot library for single-cell datasets, http://cellbrowser.rtfd.org
https://github.com/ucscGenomeBrowser/cellBrowser/
GNU General Public License v3.0
104 stars 40 forks source link

Double slash // in URL when trying to load geneMatrix.tsv causes 404 on AWS #5

Closed e-t-k closed 6 years ago

e-t-k commented 6 years ago

When I tried to change the genes in the gene box on our cellBrowser hosted on AWS, the "loading" popup hung indefinitely. The console had error message:

GET http://tsne.treehouse.gi.ucsc.edu/TH_CompV4//geneMatrix.tsv 404 (Not Found)

And in fact http://tsne.treehouse.gi.ucsc.edu/TH_CompV4//geneMatrix.tsv does respond with a 404, despite that http://tsne.treehouse.gi.ucsc.edu/TH_CompV4/geneMatrix.tsv (v large download) is present.

I removed the leading slash from "/geneMatrix.tsv" on line 1214 on my copy of the code and that resolved the particular problem, but I assume there are other places it may be relevant.

maximilianh commented 6 years ago

I remember that I had a bad feeling when writing this line... Awesome bug report. Thanks! Should be fixed now.

maximilianh commented 6 years ago

Fixed two other places where this was relevant.