Commit 7eb320ba authored by BARGAIN Orianne's avatar BARGAIN Orianne
Browse files

correct pattern EP and add test

parent d06454e4
m_mkp3=>m+mkp3.
m+mkp3=>m_mkp3.
mp_mkp3=>m_mkp3.
mp+mkp3=>mp_mkp3.
mp_mkp3=>mp+mkp3.
mp_mkp3_dep=>mp+mkp3.
mp+mkp3=>mp_mkp3_dep.
mpp_mkp3=>mp_mkp3_dep.
mpp+mkp3=>mpp_mkp3.
mpp_mkp3=>mpp+mkp3.
mapkk+mp=>mp_mapkk.
mp_mapkk=>mapkk+mp.
mp_mapkk=>mapkk+mpp.
mapkk+m=>m_mapkk.
m_mapkk=>mapkk+m.
m_mapkk=>mapkk+mp.
......@@ -242,7 +242,8 @@ michaelis_menten_detection(Graph, Stream, Dict_arcs_direct, Dict_arcs_indirect,
michaelis_menten_motif(ES, Dict_arcs_direct, Dict_arcs_indirect, E, S, P, MM_R_1, MM_R_2, MM_EP):-
get_dict(ES, Dict_arcs_indirect, Targets_ES),
(
MM_R_2 = yes
MM_R_2 = yes,
MM_EP = no
->
(
Targets_ES = [R1, R_2]
......
......@@ -62,4 +62,12 @@ test('pattern_mapk2_to_mapk3') :-
count_start('sepi', Split2, 1).
test('pattern_R-2_EP') :-
with_output_to(
atom(Output),
command('pattern_reduction("library/examples/sepi/mapk26.bc").')
),
Output = 'Number of Michaelis Menten motifs: 2\nNumber of variant of Michaelis Menten motifs: 0\n'.
:- end_tests(pattern).
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