Commit 4f27aea1 authored by maxime mano's avatar maxime mano
Browse files

Correction d'affichage des nombres*100, ajout de SubReads à la place de Reads

parent 4ed2c4b0
......@@ -84,7 +84,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{if ($head == 'Productivity 0') or ($head == 'Productivity 1') or ($head == 'Productivity 2')}
<label>{$head} : </label> {($results_sample['loading'].$head*100)|number_format:2:',':' '}%
{else}
<label>{$head} : </label> {($results_sample['loading'].$head*100)|number_format:0:',':' '}
<label>{$head} : </label> {($results_sample['loading'].$head)|number_format:0:',':' '}
{/if}
</div>
</li>
......@@ -106,8 +106,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div>
{if ($head == 'readlen' || $head == 'readscore')}
<label>{$head} : </label> <a class="imglink" href="{$results_sample['postfilter_stats'].$head}" >pic</a>
{else}
<label>{$head} : </label> {($results_sample['postfilter_stats'].$head*100)|number_format:0:',':' '}
{elseif $head == 'Mean Read Score'}
<label>{$head} : </label> {($results_sample['postfilter_stats'].$head)|number_format:2:',':' '}
{else}
<label>{$head} : </label> {($results_sample['postfilter_stats'].$head)|number_format:0:',':' '}
{/if}
</div>
</li>
......@@ -131,7 +133,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{if $head == 'report' }
<label>{$head} : </label> <a class="imglink" href="{$results_sample['subreads_stats'].$head}" >pic</a>
{else}
<label>{$head} : </label> {($results_sample['subreads_stats'].$head*100)|number_format:0:',':' '}
<label>{$head} : </label> {($results_sample['subreads_stats'].$head)|number_format:0:',':' '}
{/if}
</div>
</li>
......@@ -144,22 +146,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{/if}
</div>
</div>
{*
<div>
{$data_col = 2}
<div class="row">
<div class="col-md-2 col-lg-2">
<h4>Barcode results (Before filters)</h4>
<ul class="list-unstyled">
{foreach from=$barcode_headers key=k item=head}
<span class="checkbox"><label><input type="checkbox" data-column="{$data_col}" class="toogle-vis" checked/> {$head}</label></span>
{$data_col = $data_col + 1}
{/foreach}
</ul>
</div>
</div>
</div>
*}
{*If there are barcodes file in the run*}
{if $barcode_results_count > 1 }
......@@ -169,13 +155,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<th rowspan="2"><center><input type="checkbox" id="chk_all_sample"/></center></th>
{assign var="nb_samples" value=$barcode_name_sample|@count}
<th class="string-sort" rowspan="2" id="th_id_1"><center>Sample {if $nb_samples > 1 }({$nb_samples}){/if}</center></th>
<th colspan="{$barcode_results_count}"><center>Barcode results (Before filters)</center></th>
<th colspan="{$barcode_results_count}"><center>Barcode SubReads results (Before filters)</center></th>
</tr>
<tr>
{assign var="th_id" value=2}
{foreach from=$barcode_headers key=k item=head}
{if $head == 'Reads'}
<th class = "numeric-sort" id="th_id_{$th_id}">NB Reads</th>
<th class = "numeric-sort" id="th_id_{$th_id}">NB SubReads</th>
{elseif $head == 'Bases'}
<th class = "numeric-sort" id="th_id_{$th_id}">NB Bases</th>
{/if}
......@@ -211,12 +197,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{/foreach}
{/if}
{/foreach}
{*
<div>
{$data_col = 2}
<div class="row">
<div class="col-md-2 col-lg-2">
<h4>Barcode results (Before filters)</h4>
<h4>Barcode SubReads results (Before filters)</h4>
<ul class="list-unstyled">
{foreach from=$barcode_headers key=k item=head}
<span class="checkbox"><label><input type="checkbox" data-column="{$data_col}" class="toogle-vis" checked/> {$head}</label></span>
......@@ -226,7 +212,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div>
</div>
</div>
*}
</tbody>
<tfoot>
......
Supports Markdown
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