Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lifeware
biocham
Commits
ea0a05f7
Commit
ea0a05f7
authored
Jul 08, 2020
by
Mathieu Hemery
Browse files
Fix a bug with witness display
parent
3988d0f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
models.pl
View file @
ea0a05f7
...
...
@@ -1349,8 +1349,7 @@ test_wellformed([Molecule|Tail], Expression for Reaction) :-
test_wf_reactant
(
Molecule
,
Expression
)
:-
formal_derivation
:
derivate
(
Expression
,
Molecule
,
Derivative
),
(
\
+
(
arithmetic_rules
:
always_negative
(
Derivative
)),
!
\
+
(
arithmetic_rules
:
always_negative
(
Derivative
))
;
format
(
"Fail for wellformedness of ~w with ~w as reactant.~n"
,
[
Expression
,
Molecule
]),
fail
...
...
@@ -1363,8 +1362,7 @@ test_wf_reactant(Molecule, Expression) :-
test_wf_inhibitor
(
Molecule
,
Expression
)
:-
formal_derivation
:
derivate
(
Expression
,
Molecule
,
Derivative
),
(
\
+
(
arithmetic_rules
:
always_positive
(
Derivative
)),
!
\
+
(
arithmetic_rules
:
always_positive
(
Derivative
))
;
format
(
"Fail for wellformedness of ~w with ~w as inhibitor.~n"
,
[
Expression
,
Molecule
]),
fail
...
...
@@ -1375,8 +1373,7 @@ test_wf_inhibitor(Molecule, Expression) :-
test_wf_other
(
Molecule
,
Expression
)
:-
formal_derivation
:
derivate
(
Expression
,
Molecule
,
Derivative
),
(
is_null
(
Derivative
),
!
is_null
(
Derivative
)
;
format
(
"Fail for wellformedness of ~w with ~w as not present.~n"
,
[
Expression
,
Molecule
]),
fail
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment