From f30472ecd2afea6bd2153b8ad2bb2f663f3a2742 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 25 Aug 2014 10:39:40 +0200 Subject: Bug fix and unit tests for mkinerrmin See NEWS.md for details --- NEWS.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'NEWS.md') diff --git a/NEWS.md b/NEWS.md index d05c2095..1ed94c97 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,12 +4,19 @@ - The initial value (state.ini) for the observed variable with the highest observed residue is set to 100 in case it has no time zero observation and `state.ini = "auto"` +- A basic unit test for `mkinerrmin()` was written + ## BUG FIXES - `mkinfit()`: The internally fitted parameter for `g` was named `g_ilr` even when `transform_fractions=FALSE` - `mkinfit()`: The initial value (state.ini) for the parent compound was not set when the parent was not the (only) variable with the highest value in the observed data. +- `mkinerrmin()`: When checking for degrees of freedom for metabolites, check + if their time zero value is fixed instead of checking if the observed value + is zero. This ensures correct calculation of degrees of freedom also in cases + where the metabolite residue at time zero is greater zero. + ## MINOR CHANGES - The formatting of differential equations in the summary was improved by wrapping overly long lines -- cgit v1.2.1