:-doc('\\begin{remark}In Biocham v4, a reaction network is represented by a multiset of reactions. Reactions can thus be added in multiple copies in which case their reaction rates are summed.\\end{remark}').
...
...
@@ -66,12 +67,19 @@ delete_reaction_named(Name):-
removes reaction rules by their name from the current set of reactions.
'),
Item=(Name--_),
\+(
\+(
item([kind:reaction,id:Id,item:Item]),
\+(
delete_item(Id)
)
).
\+(
delete_item(Id)
)
).
delete_reactions:-
biocham_command,
doc('Removes all reaction rules from the current model.'),