Skip to content

Commit

Permalink
join reaction attributes in merging models
Browse files Browse the repository at this point in the history
  • Loading branch information
Waschina committed Sep 4, 2024
1 parent 4971468 commit a916f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/joinModels.R
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ joinModels <- function(models, mergeLB = "none", mergeUB = "none",
cmod@react_id <- c(cmod@react_id, dtexNew$exrxn)
cmod@react_name <- c(cmod@react_name,paste(dtexNew$cpd.name, "exchange"))
cmod@react_comp <- c(cmod@react_comp, rep("e",nrow(dtexNew)))
cmod@react_attr <- rbind(cmod@react_attr,
cmod@react_attr <- rbind(cmod@react_attr[,c("CVTerms","SBOTerm")],
data.frame(CVTerms = rep("",nrow(dtexNew)),
SBOTerm = rep("http://identifiers.org/SBO:0000627",
nrow(dtexNew))))
Expand Down

0 comments on commit a916f40

Please sign in to comment.