Skip to content

Commit 159a994

Browse files
committed
Use entire space available for eqtl tables.
Avoid impression of error when no eqtl data available.
1 parent beb6488 commit 159a994

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

src/components/GeneDashboard.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,21 @@
2323
<!-- eQTL tab -->
2424
<div id="eqtl-tab" v-if="showTab.eqtl">
2525
<div class="row justify-content-left px-5" >
26-
<div class="col-md-5">
26+
<div class="col-md-6">
2727
<div id="eqtl-collection" >
2828
<h4 @click="demo">SuSiE eQTLs</h4>
2929
<EqtlTable/>
3030
</div>
3131
</div>
32-
<div class="col-md-5">
32+
<div class="col-md-6">
3333
<div id="eqtl-collection">
3434
<h4>Conditional eQTLs</h4>
3535
<EqtlCondTable/>
3636
</div>
3737
</div>
38-
<div class="col-md-11">
38+
</div>
39+
<div class="row justify-content-left px-5" >
40+
<div class="col-md-12">
3941
<EqtlTableDescription/>
4042
</div>
4143
</div>

src/components/GeneSegments.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ export default {
9898
axios
9999
.get(`${this.api}/genes/${this.chrom}-${this.start}-${this.stop}`)
100100
.then( response => {
101-
console.log(response)
102101
let genes = response.data.data;
103102
if (genes.length > 0) {
104103
let agg = genes.map(this.gene_to_aggregate)

src/components/table/EqtlCondTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export default {
119119
this.tabulator = new Tabulator(this.$refs.eqtltable, {
120120
height: "150px",
121121
layout: "fitDataStretch",
122-
placeholder: "No eQTL Data",
122+
placeholder: "No Conditional eQTL Data",
123123
ajaxURL: this.ajaxUrl,
124124
ajaxParams: {gene: this.geneId },
125125
ajaxConfig: {

src/components/table/EqtlTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default {
8787
this.tabulator = new Tabulator(this.$refs.eqtltable, {
8888
height: "150px",
8989
layout: "fitDataStretch",
90-
placeholder: "No eQTL Data",
90+
placeholder: "No SuiSiE eQTL Data",
9191
ajaxURL: this.ajaxUrl,
9292
ajaxParams: {gene: this.geneId },
9393
ajaxConfig: {

0 commit comments

Comments
 (0)