Commit 55083d95 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

add jphylocharts

parent 8e910ec2
......@@ -58,7 +58,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{$null = rsort($levels)}
{* Then find out all estimators used *}
{assign var="estimators" value=array()}
{assign var="tree_avail" value=false}
{foreach from=$analyse_results key=sample item=sample_results}
{if $sample == "all"}
{$tree_avail=true}
{/if}
{foreach from=$sample_results key=group item=value}
{foreach from=$value key=estimator item=est_value}
{if !in_array($estimator, $estimators) and $estimator != "tre_thetayc" and $estimator != "tre_jclass" and $estimator != "rarefaction_x" and $estimator != "rarefaction_y" and $estimator != "nb_seq" and $estimator != "otus"}
......@@ -70,7 +74,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{assign var="beta_done" value=false}
{* Init tre values *}
{if $analyse_results.has_key("all")}
{if $tree_avail}
{foreach $levels as $group}
<input type="hidden" id="tre_thetayc_{$group|replace:".":"_"}" value="{$analyse_results["all"][$group].tre_thetayc}"/>
<input type="hidden" id="tre_jclass_{$group|replace:".":"_"}" value="{$analyse_results["all"][$group].tre_jclass}"/>
......@@ -153,7 +157,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</tfoot>
</table>
{if $analyse_results.has_key("all")}
{if $tree_avail}
<h3> {$llang.MothurOTUAnalyse_betadiversity_title} </h3>
<div class="underline"> </div>
<br />
......
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