Commit 4e492c6f authored by Jerome Mariette's avatar Jerome Mariette
Browse files

fixe a bug in adaptor cleaner

parent cd0b8e3d
......@@ -67,16 +67,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<th>{$llang.AdaptorcleanerAnalyse_deleted}</th>
</tr>
{foreach from=$analyse_results_sorted key=sample item=sample_results}
<tr>
{if $analyse_results|@count > 1 }
<td>{$sample|get_description:$descriptions}</td>
{/if}
<td>{$sample_results["default"].nb_reads_begining|number_format:0:' ':' '}</td>
<td>{$sample_results["default"].nb_reads_end|number_format:0:' ':' '}</td>
<td>{$sample_results["default"].del_only_adaptator|number_format:0:' ':' '}</td>
<td>{$sample_results["default"].del_length|number_format:0:' ':' '}</td>
<td>{(100.00-((($sample_results["default"].nb_reads_end)*100)/$sample_results["default"].nb_reads_begining))|number_format:2:'.':' '}</td>
</tr>
{if $sample != "all"}
<tr>
{if $analyse_results|@count > 1 }
<td>{$sample|get_description:$descriptions}</td>
{/if}
<td>{$sample_results["default"].nb_reads_begining|number_format:0:' ':' '}</td>
<td>{$sample_results["default"].nb_reads_end|number_format:0:' ':' '}</td>
<td>{$sample_results["default"].del_only_adaptator|number_format:0:' ':' '}</td>
<td>{$sample_results["default"].del_length|number_format:0:' ':' '}</td>
<td>{(100.00-((($sample_results["default"].nb_reads_end)*100)/$sample_results["default"].nb_reads_begining))|number_format:2:'.':' '}</td>
</tr>
{/if}
{/foreach}
</table>
......@@ -101,14 +103,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{/foreach}
</tr>
{foreach from=$analyse_results_sorted key=sample item=sample_results}
<tr>
{if $analyse_results|@count > 1 }
<td>{$sample|get_description:$descriptions}</td>
{/if}
{foreach $adaptors as $adaptor}
<td>{$sample_results["adaptor"][$adaptor]|number_format:0:' ':' '}</td>
{/foreach}
</tr>
{if $sample != "all"}
<tr>
{if $analyse_results|@count > 1 }
<td>{$sample|get_description:$descriptions}</td>
{/if}
{foreach $adaptors as $adaptor}
<td>{$sample_results["adaptor"][$adaptor]|number_format:0:' ':' '}</td>
{/foreach}
</tr>
{/if}
{/foreach}
</table>
{/block}
\ No newline at end of file
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