Skip to content

Commit

Permalink
removed printing of LRT test in output file for the multi method
Browse files Browse the repository at this point in the history
  • Loading branch information
flouris authored and flouris committed Jul 15, 2016
1 parent 2cea0f2 commit d6ea3b6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.63])
AC_INIT([mptp], [0.1.0], [Tomas.Flouri@h-its.org])
AC_INIT([mptp], [0.1.1], [Tomas.Flouri@h-its.org])
AM_INIT_AUTOMAKE([subdir-objects])
AC_LANG([C])
AC_CONFIG_SRCDIR([src/mptp.c])
Expand Down
3 changes: 3 additions & 0 deletions man/mptp.1
Original file line number Diff line number Diff line change
Expand Up @@ -330,5 +330,8 @@ bug releases may not be mentioned):
.TP
.BR v0.1.0\~ "released June 27th, 2016"
First public release.
.TP
.BR v0.1.1\~ "released July 15th, 2016"
Bug fix (now LRT test is not printed in output file when using --multi)
.RE
.LP
7 changes: 5 additions & 2 deletions src/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,11 @@ void output_info(FILE * out,
"single" : "multi",
logl);
#ifdef HAVE_LIBGSL
fprintf(out, "LRT computed p-value: %.6f\n", pvalue);
fprintf(out, "LRT: %s\n", lrt_result ? "passed" : "failed");
if (method == PTP_METHOD_SINGLE)
{
fprintf(out, "LRT computed p-value: %.6f\n", pvalue);
fprintf(out, "LRT: %s\n", lrt_result ? "passed" : "failed");
}
#endif
fprintf(out, "Number of delimited species: %d\n", species_count);
}

0 comments on commit d6ea3b6

Please sign in to comment.