Commit 1dfa9595 authored by MARIJON Pierre's avatar MARIJON Pierre

Correct copy past error

parent 21537c30
......@@ -181,7 +181,6 @@ def _load_minimap_info(param, minimap_paf, canu_contig_on_minimap,
param["minimap_path_ok"] = minimap_path_ok
param["minimap_path_len"] = minimap_path_len
param["minimap_path_svg"] = minimap_path_svg
def _load_miniasm_info(param, miniasm_gfa, miniasm_png):
......
......@@ -43,7 +43,7 @@ For each free read contig extremity, we search path to other free read contig ex
<tr>
<th> tig : {{tigB}} read : {{readB}} </th>
{% for readA, tigA in minimap_path_readA %}
{% if canu_path_ok[readA][readB] %}
{% if minimap_path_ok[readA][readB] %}
<td class="path"><button id="button_mini_{{readA}}_{{readB}}">{{minimap_path_ok[readA][readB]}}</button></td>
{% else %}
<td></td>
......@@ -57,7 +57,7 @@ For each free read contig extremity, we search path to other free read contig ex
{% for readB, tigB in minimap_path_readB %}
{% for readA, tigA in minimap_path_readA %}
{% if canu_path_ok[readA][readB] %}
{% if minimap_path_ok[readA][readB] %}
document.getElementById('button_mini_{{readA}}_{{readB}}').onclick = function() {
document.getElementById('minimap_path_name').innerHTML = "tig : {{tigA}} (read {{readA}}) to tig : {{tigB}} (read {{readB}})";
document.getElementById('minimap_path_content').innerHTML = "<img src=\"data:image/svg+xml;base64,{{minimap_path_svg[readA][readB]}}\">";
......
Markdown is supported
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