Commit 4052e698 authored by Mathieu Hemery's avatar Mathieu Hemery
Browse files

Check_model detect nullify kinetics

parent c8e9b3c0
......@@ -1347,6 +1347,12 @@ test_wellformed(_Molecules, 'MA'(_R) for _Reaction).
test_wellformed([Molecule|Tail], Expression for Reaction) :-
(
% detect null kinetics as a warning
is_null(Expression)
->
format("WARNING: Some kinetics are detected as null: ~w~n", [Expression]),
fail
;
is_reactant(Molecule, Expression for Reaction)
->
test_wf_reactant(Molecule, Expression)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment