Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 143db682 authored by SOLIMAN Sylvain's avatar SOLIMAN Sylvain :coffee:
Browse files

Don't add an empty transition for PHENOTYPES

parent 736525d1
No related branches found
No related tags found
No related merge requests found
Pipeline #940923 failed
......@@ -92,10 +92,11 @@ def handle_phenotypes(info):
modifiers.append(("INHIBITION", t.reactants[0]))
else:
modifiers.append(("CATALYSIS", t.reactants[0]))
new_transitions.append(
Transition("STATE_TRANSITION", [], modifiers, None, None)
)
info[key]["transitions"] = new_transitions
if modifiers:
new_transitions.append(
Transition("STATE_TRANSITION", [], modifiers, None, None)
)
info[key]["transitions"] = new_transitions
def delete_complexes_and_store_multispecies(info):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment