Skip to content
Snippets Groups Projects
Commit 9456aaee authored by Claus Jonathan Fritzemeier's avatar Claus Jonathan Fritzemeier
Browse files

rmReact: faild if resulting mod had only one gene left.

parent 90a32578
No related branches found
No related tags found
No related merge requests found
...@@ -169,7 +169,7 @@ rmReact <- function(model, react, rm_met = TRUE) { ...@@ -169,7 +169,7 @@ rmReact <- function(model, react, rm_met = TRUE) {
keepGenes <- ifelse(is.na(keepGenes), FALSE, TRUE) keepGenes <- ifelse(is.na(keepGenes), FALSE, TRUE)
#print(keepGenes) #print(keepGenes)
rxnGeneMat(mod_out) <- rxnGeneMat(mod_out)[, keepGenes] rxnGeneMat(mod_out) <- rxnGeneMat(mod_out)[, keepGenes, drop = FALSE]
#print(dim(rxnGeneMat)) #print(dim(rxnGeneMat))
} }
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
\section{Changes in version 1.3.1 2015-08-06}{ \section{Changes in version 1.3.1 2015-08-06}{
\itemize{ \itemize{
\item \code{rmReact} error, if resulting model had only one gene left, corrected.
\item \code{deadEndMetabolite()} could miss deadEndMetabolites if reactions differ in stoichiometry e.g. 1 and 2. \item \code{deadEndMetabolite()} could miss deadEndMetabolites if reactions differ in stoichiometry e.g. 1 and 2.
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment