diff --git a/assets/js/pages/gwas_region.js b/assets/js/pages/gwas_region.js index 53a65d0..8b97261 100644 --- a/assets/js/pages/gwas_region.js +++ b/assets/js/pages/gwas_region.js @@ -12,7 +12,7 @@ import { createStudyAssocSources } from '../util/lz-helpers'; function makePlot(template_vars) { let state = paramsFromUrl(stateUrlMapping); // Fill in default params for any values not provided by the url - state.genome_build = template_vars.build; + state.genome_build = template_vars.genome_build; state = Object.assign( { chr: template_vars.chr, start: template_vars.start, end: template_vars.end }, state diff --git a/locuszoom_plotting_service/gwas/views.py b/locuszoom_plotting_service/gwas/views.py index f28ab02..87c3b6b 100644 --- a/locuszoom_plotting_service/gwas/views.py +++ b/locuszoom_plotting_service/gwas/views.py @@ -219,7 +219,7 @@ def get_context_data(self, **kwargs): token, ), 'label': gwas.label, - 'build': gwas.build, + 'genome_build': gwas.build, # Default region for bare URLs is the top hit in the study 'chr': gwas.top_hit_view.chrom, 'start': gwas.top_hit_view.start, diff --git a/package-lock.json b/package-lock.json index 6fc1bfe..51f774a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4309,13 +4309,13 @@ } }, "localzoom": { - "version": "git+https://github.com/statgen/localzoom.git#eb105242597d5a039bb473df3fb059c2c37b05d2", - "from": "git+https://github.com/statgen/localzoom.git#eb10524", + "version": "git+https://github.com/statgen/localzoom.git#b78103b22558d3f2e61d849b172fea7bc7e28152", + "from": "git+https://github.com/statgen/localzoom.git#b78103b", "requires": { "@sentry/browser": "^4.5.2", "bootstrap": "^4.4.1", "bootstrap-vue": "^2.21.2", - "locuszoom": "git+https://github.com/statgen/locuszoom.git#674d25c", + "locuszoom": "0.14.0", "lodash": "^4.17.11", "tabulator-tables": "^4.9.3", "vue": "^2.6.14", @@ -4333,8 +4333,9 @@ } }, "locuszoom": { - "version": "git+https://github.com/statgen/locuszoom.git#674d25cc7fb338ff6c2b378e538e6de2b0ec5a8a", - "from": "git+https://github.com/statgen/locuszoom.git#674d25c", + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/locuszoom/-/locuszoom-0.14.0.tgz", + "integrity": "sha512-zevo24rJzC82HjN1pXuEiSiYI3uAugftmv4nBZYV2T1bineeSEY69PZzDmd3EX2y8ru/hJHQJZAHmpZR7xTizw==", "requires": { "@hapi/topo": "^5.1.0", "d3": "^5.16.0", @@ -6310,9 +6311,9 @@ }, "dependencies": { "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==" }, "strip-ansi": { "version": "5.2.0", diff --git a/package.json b/package.json index ae3170e..a46ea31 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ "d3": "^5.16.0", "d3-tip": "0.9.1", "gwas-credible-sets": "^0.1.0", - "localzoom": "git+https://github.com/statgen/localzoom.git#eb10524", - "locuszoom": "git+https://github.com/statgen/locuszoom.git#674d25c", + "localzoom": "git+https://github.com/statgen/localzoom.git#b78103b", + "locuszoom": "0.14.0", "lodash": "^4.17.21", "pako": "^1.0.11", "tabulator-tables": "^4.9.3",