Skip to content

Commit

Permalink
Use entire space available for eqtl tables.
Browse files Browse the repository at this point in the history
  Avoid impression of error when no eqtl data available.
  • Loading branch information
grosscol committed Nov 19, 2024
1 parent beb6488 commit 159a994
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
8 changes: 5 additions & 3 deletions src/components/GeneDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,21 @@
<!-- eQTL tab -->
<div id="eqtl-tab" v-if="showTab.eqtl">
<div class="row justify-content-left px-5" >
<div class="col-md-5">
<div class="col-md-6">
<div id="eqtl-collection" >
<h4 @click="demo">SuSiE eQTLs</h4>
<EqtlTable/>
</div>
</div>
<div class="col-md-5">
<div class="col-md-6">
<div id="eqtl-collection">
<h4>Conditional eQTLs</h4>
<EqtlCondTable/>
</div>
</div>
<div class="col-md-11">
</div>
<div class="row justify-content-left px-5" >
<div class="col-md-12">
<EqtlTableDescription/>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/components/GeneSegments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ export default {
axios
.get(`${this.api}/genes/${this.chrom}-${this.start}-${this.stop}`)
.then( response => {
console.log(response)
let genes = response.data.data;
if (genes.length > 0) {
let agg = genes.map(this.gene_to_aggregate)
Expand Down
2 changes: 1 addition & 1 deletion src/components/table/EqtlCondTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default {
this.tabulator = new Tabulator(this.$refs.eqtltable, {
height: "150px",
layout: "fitDataStretch",
placeholder: "No eQTL Data",
placeholder: "No Conditional eQTL Data",
ajaxURL: this.ajaxUrl,
ajaxParams: {gene: this.geneId },
ajaxConfig: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/table/EqtlTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default {
this.tabulator = new Tabulator(this.$refs.eqtltable, {
height: "150px",
layout: "fitDataStretch",
placeholder: "No eQTL Data",
placeholder: "No SuiSiE eQTL Data",
ajaxURL: this.ajaxUrl,
ajaxParams: {gene: this.geneId },
ajaxConfig: {
Expand Down

0 comments on commit 159a994

Please sign in to comment.