Skip to content
Snippets Groups Projects
Commit 5f28f803 authored by Rachel TORCHET's avatar Rachel TORCHET
Browse files

Merge branch 'master' of https://gitlab.pasteur.fr/hub/iPPIDB

Former-commit-id: d45cc3365561a47e9f22875801b0c84b82346c8c
parents 4eaf8961 e2b6ed50
No related branches found
No related tags found
No related merge requests found
......@@ -169,7 +169,7 @@
var dataItem = data.datasets[dataPoint.datasetIndex].data[dataPoint.index];
props = {'id':dataItem.id, 'family': dataItem.family_name, 'smiles': dataItem.smiles};
});
var canvasStr = '<canvas id="canvas-'+ props.id +'" width="250" height="250" data-smiles="' + props.smiles + '"></canvas>'
var canvasStr = '<canvas id="canvas-'+ props.id +'" width="300" height="250" data-smiles="' + props.smiles + '"></canvas>'
var tooltipStr = '<div class="card" style="width:250">' + canvasStr
+ '<div class="card-body"><h5 class="card-title">Compound ' + props.id + '</h5>'
+ '<p class="card-text">PPI Family: ' + props.family + '</p></div></div>';
......
......@@ -21,6 +21,7 @@
{% include "compound_t_colhead.html" with col_id="nb_chiral_centers" col_name="R/S" col_title="Number of chiral centers" %}
{% include "compound_t_colhead.html" with col_id="le" col_name="LE" col_title="Ligand Efficiency" %}
{% include "compound_t_colhead.html" with col_id="lle" col_name="LLE" col_title="Lipophilic Efficiency" %}
{% include "compound_t_colhead.html" with col_id="qs_ba" col_name="Best Activity" col_title="Best pXC50 Activity" %}
<button type="button" class="btn btn-primary float-right" style="width: inherit!important" data-toggle="modal" data-target="#selectColumns">
<i class="fa fa-columns" title="customize columns"></i>
</button>
......@@ -87,6 +88,9 @@
{% if "lle" in fields %}
<td scope="col">{{ compound.lle|floatformat:2 }}</td>
{% endif %}
{% if "qs_ba" in fields %}
<td scope="col">{{ compound.qs_ba|floatformat:2 }}</td>
{% endif %}
</tr>
{% endfor %}
</tbody>
......@@ -157,6 +161,9 @@
<div class="row">
<label><input type="checkbox" name="field" value="lle" class="mr-1" {% if 'lle' in fields %}checked="checked"{% endif %} />Lipophilic Efficiency</label>
</div>
<div class="row">
<label><input type="checkbox" name="field" value="qs_ba" class="mr-1" {% if 'qs_ba' in fields %}checked="checked"{% endif %} />Best pXC50 Activity</label>
</div>
</div>
<div class="modal-footer">
<script>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment