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