Commit b4d5aee1 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

add jphylocharts

parent 8d8b5b70
......@@ -96,36 +96,38 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{assign var="analyse_results_sorted" value=$analyse_results|@ksort}
{assign var="i" value=0}
{foreach from=$analyse_results_sorted key=sample item=sample_results}
<tr>
<td><center>
<input type="checkbox" id="chk_sample_{$i}" value="sample">
{if $sample != "all"}
<tr>
<td><center>
<input type="checkbox" id="chk_sample_{$i}" value="sample">
{foreach $levels as $group}
<input type="hidden" id="rarefaction_curve_x_{$i}_{$group|replace:".":"_"}" value="{$sample_results[$group].rarefaction_x}"/>
<input type="hidden" id="rarefaction_curve_y_{$i}_{$group|replace:".":"_"}" value="{$sample_results[$group].rarefaction_y}"/>
{if $sample_results[$group].otus != "" }
<input type="hidden" id="otus_{$i}_{$group|replace:".":"_"}" value="{$sample_results[$group].otus}"/>
{/if}
{/foreach}
</center></td>
{if $analyse_results|@count > 1 }
<td id="sample_id_{$i}">{$sample|get_description:$descriptions}</td>
{/if}
<td>{$sample_results["default"]["nb_seq"]|number_format:0:' ':' '}</td>
{foreach $levels as $group}
<input type="hidden" id="rarefaction_curve_x_{$i}_{$group|replace:".":"_"}" value="{$sample_results[$group].rarefaction_x}"/>
<input type="hidden" id="rarefaction_curve_y_{$i}_{$group|replace:".":"_"}" value="{$sample_results[$group].rarefaction_y}"/>
{if $sample_results[$group].otus != "" }
<input type="hidden" id="otus_{$i}_{$group|replace:".":"_"}" value="{$sample_results[$group].otus}"/>
{/if}
{/foreach}
</center></td>
{if $analyse_results|@count > 1 }
<td id="sample_id_{$i}">{$sample|get_description:$descriptions}</td>
{/if}
<td>{$sample_results["default"]["nb_seq"]|number_format:0:' ':' '}</td>
{foreach $levels as $group}
<td><center>{$sample_results[$group]["sobs"]|number_format:0:' ':' '}</center></td>
{foreach $estimators as $estimator}
{if $estimator != "sobs" }
{assign var="display_value" value=";"|explode:$sample_results[$group][$estimator]}
{if $display_value|@count == 3 }
<td nowrap="nowrap"><center>{$display_value[0]|number_format:2:'.':' '} <br /> ({$display_value[1]|number_format:2:'.':' '}:{$display_value[2]|number_format:2:'.':' '})</center></td>
{else}
<td nowrap="nowrap"><center>{$sample_results[$group][$estimator]|number_format:2:'.':' '}</center></td>
<td><center>{$sample_results[$group]["sobs"]|number_format:0:' ':' '}</center></td>
{foreach $estimators as $estimator}
{if $estimator != "sobs" && $estimator != "tre_thetayc" && $estimator != "tre_jclass"}
{assign var="display_value" value=";"|explode:$sample_results[$group][$estimator]}
{if $display_value|@count == 3 }
<td nowrap="nowrap"><center>{$display_value[0]|number_format:2:'.':' '} <br /> ({$display_value[1]|number_format:2:'.':' '}:{$display_value[2]|number_format:2:'.':' '})</center></td>
{else}
<td nowrap="nowrap"><center>{$sample_results[$group][$estimator]|number_format:2:'.':' '}</center></td>
{/if}
{/if}
{/if}
{/foreach}
{/foreach}
{/foreach}
</tr>
{$i = $i +1}
</tr>
{$i = $i +1}
{/if}
{/foreach}
</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