Commit 200de6e7 authored by SOLIMAN Sylvain's avatar SOLIMAN Sylvain
Browse files

error message for tropicalize

parent 74924105
......@@ -227,8 +227,11 @@ subst_deg_and_vars(V, Vars, Ai, A) :-
% TODO use get_degree for numbers
subst_deg_and_vars(E, _, _, _) :-
format_to_atom(A, "We do not understand the kinetic term ~p~n", [E]),
throw(error(A)).
throw(error(unknown_kinetic_term(E))).
prolog:message(error(unknown_kinetic_term(E))) -->
['We do not understand the kinetic term ~p~n'-[E]].
% split_pos_neg_and_subst(+O, +Vars, ?Ai, ?Pos, ?Neg)
......@@ -456,8 +459,9 @@ tropicalize :-
tropical_partial,
number,
Partial,
'Nubmer of a variable to ignore for equilibration (0 to ignore none, -1
to ignore all unbalanced)'
'Number of a variable (as displayed by \\command{list_molecules/0} plus 1)
to ignore for equilibration (0 to ignore none, -1 to ignore all
unbalanced)'
),
option(
tropical_denominator,
......
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