Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lifeware
biocham
Commits
c007c944
Commit
c007c944
authored
Nov 25, 2019
by
HEMERY Mathieu
Browse files
Avoid the peculiar syntax =[...]=> for catalysts
parent
8e1ecbeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
reaction_editor.pl
View file @
c007c944
...
...
@@ -116,23 +116,6 @@ merge_reactions(Reaction1, Reaction2):-
append
(
Products1
,
Products2
,
Products
),
add_reaction
(
Kinetics1
+
Kinetics2
,
Reactants
,
Inhibitors
,
Products
,
false
).
%simplify_all_reactions :-
% biocham_command,
% doc('
% replaces each reaction by a simplified form, by grouping common molecules,
% identifying catalysts, and by using the canonical molecule for aliases.
% '),
% \+ (
% item([kind: reaction, id: Id, item: Reaction]),
% \+ (
% delete_item(Id),
% simplify_reaction(Reaction, SimplifiedReaction),
% add_item([kind: reaction, item: SimplifiedReaction])
% )
% ).
list_reactions
:-
biocham_command
,
doc
(
'lists the current set of reaction rules.'
),
...
...
@@ -590,7 +573,7 @@ make_reaction(
->
Body
=
(
Reactants
<=>
RightSolution
)
;
Body
=
(
Reactants
<=
[
CatalystSolution
]
=>
RightSolution
)
Body
=
(
Reactants
+
CatalystSolution
<
=>
RightSolution
+
CatalystSolution
)
)
;
(
...
...
@@ -598,7 +581,7 @@ make_reaction(
->
Body
=
(
Reactants
=>
RightSolution
)
;
Body
=
(
Reactants
=
[
CatalystSolution
]
=>
RightSolution
)
Body
=
(
Reactants
+
CatalystSolution
=>
RightSolution
+
CatalystSolution
)
)
).
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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