diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/show_trait/show_trait.py | 2 | ||||
-rw-r--r-- | wqflask/wqflask/static/new/javascript/init_genome_browser.js | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py index 880a291f..3b057427 100644 --- a/wqflask/wqflask/show_trait/show_trait.py +++ b/wqflask/wqflask/show_trait/show_trait.py @@ -273,7 +273,7 @@ class ShowTrait(object): self.panther_link = webqtlConfig.PANTHER_URL % self.this_trait.symbol self.ebi_gwas_link = webqtlConfig.EBIGWAS_URL % self.this_trait.symbol self.protein_atlas_link = webqtlConfig.PROTEIN_ATLAS_URL % self.this_trait.symbol - self.open_targets_link = webqtlConfig.OPEN_TARGETS_URL % self.this_trait.symbol + #self.open_targets_link = webqtlConfig.OPEN_TARGETS_URL % self.this_trait.symbol if self.dataset.group.species == "mouse" or self.dataset.group.species == "human": if self.dataset.group.species == "mouse": diff --git a/wqflask/wqflask/static/new/javascript/init_genome_browser.js b/wqflask/wqflask/static/new/javascript/init_genome_browser.js index c4f91023..07bdaaeb 100644 --- a/wqflask/wqflask/static/new/javascript/init_genome_browser.js +++ b/wqflask/wqflask/static/new/javascript/init_genome_browser.js @@ -69,8 +69,10 @@ var config = }, // initialChrs: { left: "1", right: "5" } coordinateSystem: coordinateSystem, - }; +}; -GenomeBrowser.main(config)(); +$('#browser_tab').click(function() { + GenomeBrowser.main(config)(); +}); document.getElementById("controls").style.visibility = "visible";
\ No newline at end of file |