Skip to content

Commit

Permalink
removing ancestral state reconstruction from LEISR
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenweaver committed May 16, 2018
1 parent 53bb388 commit 87ffd09
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions res/TemplateBatchFiles/LEISR.bf
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,13 @@ leisr.alignment_wide_MLES = estimators.FitSingleModel_Ext (
None,
{terms.run_options.retain_lf_object: TRUE});

/* reconstruct ancestral states */
/* reconstruct ancestral states - */

leisr.ancestral_data = ancestral.build (leisr.alignment_wide_MLES[terms.likelihood_function], 0, FALSE);
console.log (leisr.ancestral_data);
return 0;
// SW20180516 - NOT YET SUPPORTED

//leisr.ancestral_data = ancestral.build (leisr.alignment_wide_MLES[terms.likelihood_function], 0, FALSE);
//console.log (leisr.ancestral_data);
//return 0;

ConstructCategoryMatrix (leisr.site_level_log_likelihoods, ^(leisr.alignment_wide_MLES[terms.likelihood_function]), SITE_LOG_LIKELIHOODS);
DeleteObject (^(leisr.alignment_wide_MLES[terms.likelihood_function]));
Expand Down Expand Up @@ -479,4 +481,4 @@ lfunction leisr.store_results (node, result, arguments) {

lfunction leisr.getIC(logl, params, samples) {
return -2 * logl + 2 * samples / (samples - params - 1) * params;
}
}

0 comments on commit 87ffd09

Please sign in to comment.