aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-08-25 17:46:02 +0000
committerzsloan2021-08-25 17:46:02 +0000
commit3327c9dc95d2c4d295dc8dbf4839c01294b53ada (patch)
treed02fa7ebd064c5ca6f168a5ea269df6dd279fee9 /wqflask
parentae634a36891ddba9748e0f75ff1cf51e95e4a8a7 (diff)
downloadgenenetwork2-3327c9dc95d2c4d295dc8dbf4839c01294b53ada.tar.gz
Add map scale option that was missing for groups with only a single genotype file
Diffstat (limited to 'wqflask')
-rwxr-xr-xwqflask/wqflask/templates/show_trait_mapping_tools.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/show_trait_mapping_tools.html b/wqflask/wqflask/templates/show_trait_mapping_tools.html
index 4c0efecb..5365140d 100755
--- a/wqflask/wqflask/templates/show_trait_mapping_tools.html
+++ b/wqflask/wqflask/templates/show_trait_mapping_tools.html
@@ -229,6 +229,17 @@
</select>
</div>
</div>
+ {% else %}
+ <div class="mapping_method_fields form-group">
+ <label for="scale_select" class="col-xs-3 control-label">Map Scale</label>
+ <div class="col-xs-2 controls">
+ <select id="scale_rqtl_geno" class="form-control scale-select">
+ {% for item in scales_in_geno[dataset.group.name + ".geno"] %}
+ <option value="{{ item[0] }}">{{ item[1] }}</option>
+ {% endfor %}
+ </select>
+ </div>
+ </div>
{% endif %}
<div class="mapping_method_fields form-group">
<label for="mapping_permutations" class="col-xs-3 control-label">Permutations</label>