Commit d28a2bf8 authored by maxime mano's avatar maxime mano
Browse files

Remplacement SubReads à la place de Reads

parent 4f27aea1
......@@ -160,7 +160,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<tr>
{assign var="th_id" value=2}
{foreach from=$barcode_headers key=k item=head}
{if $head == 'Reads'}
{if $head == 'SubReads'}
<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>
......@@ -183,7 +183,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{$col_id = 2}
{foreach from=$barcode_headers key=k item=head}
{if $head == 'Reads'}
{if $head == 'SubReads'}
<td id="sample_{$i}_col_{$col_id}">{$sample_results[$sample].$head|number_format:0:',':' '}</td>
{$totalReads = $totalReads + $sample_results[$sample].$head}
{elseif $head == 'Bases'}
......@@ -220,7 +220,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<th>Total : </th>
<th>&nbsp;</th>
{foreach from=$barcode_headers key=k item=head}
{if $head == 'Reads'}
{if $head == 'SubReads'}
<th>{$totalReads|number_format:0:',':' '}</th>
{elseif $head == 'Bases'}
<th>{$totalBases|number_format:0:',':' '}</th>
......@@ -231,7 +231,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<th>Mean : </th>
<th>&nbsp;</th>
{foreach from=$barcode_headers key=k item=head}
{if $head == 'Reads'}
{if $head == 'SubReads'}
<th>{($totalReads/$nb_samples)|number_format:0:' ':' '}</th>
{elseif $head == 'Bases'}
<th>{($totalBases/$nb_samples)|number_format:0:' ':' '}</th>
......
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