Closed HettieC closed 4 months ago
Hi! I actually assume this is the intended behavior -- the checking is actually quite costly. I agree this is not very user-friendly; we might want to do something about this later.
deprecated by AbstractFBCModels interface
When adding reactions to a model, currently cobrexa allows you to add them if the metabolites used are not present in the model and only throws an error when you later try to do something with the model. The error also only mentions one metabolite that is not present, instead of listing them
E.g.
Gives the error:
It would be nice if when calling
add_reaction!
an error was thrown if any metabolites are not already in the model, or if when callingdisplay(model)
a list of the missing metabolites was given instead of just one.