Commit 078d943c authored by MARIJON Pierre's avatar MARIJON Pierre

close #8

parent c8a64077
......@@ -79,7 +79,7 @@ def read_canu_input_dataset(canu_correction):
def _load_canu_only_info(param, canu_contig_on_paf, canu_contig_on_paf_legend):
param["canu_contig_paf"] = str(base64.b64encode(open(canu_contig_on_paf, "rb").read()))[2:-1]
param["canu_contig_paf_legend"] = str(base64.b64encode(generate_legend(canu_contig_on_paf_legend).read()))[2:-1]
param["legend"] = str(base64.b64encode(generate_legend(canu_contig_on_paf_legend).read()))[2:-1]
def _load_canu_info(param, canu_correction_report, canu_fasta,
......@@ -160,7 +160,7 @@ def _load_minimap_info(param, minimap_paf, canu_contig_on_minimap,
param["minimap_stat"] = minimap_stat
param["canu_contig_mini"] = str(base64.b64encode(open(canu_contig_on_minimap, "rb").read()))[2:-1]
param["canu_contig_mini_legend"] = str(base64.b64encode(canu_contig_on_minimap_legend.read()))[2:-1]
param["legend"] = str(base64.b64encode(canu_contig_on_minimap_legend.read()))[2:-1]
# build path search
minimap_path_readA = list()
......
......@@ -10,7 +10,6 @@
</div>
<div id="canu_contig_mini" class="graph_image">
<img class="eighty_img" src="data:image/png;base64,{{canu_contig_mini}}"/>
<img class="twenty_img" src="data:image/png;base64,{{canu_contig_mini_legend}}">
</div>
<h3 id="header-path-search-between-each-contig-mini">Path search between each contig</h3>
......
......@@ -29,7 +29,6 @@ contigs.
<div id="canu_contig_on_paf" class="graph_image">
<img src="data:image/png;base64,{{canu_contig_paf}}"/>
<img src="data:image/png;base64,{{canu_contig_paf_legend}}">
</div>
</body>
......
<nav id="navigation" class="navigation">
<ul id="navigation_list">
</ul>
<img src="data:image/png;base64,{{legend}}">
</nav>
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