Skip to content
Snippets Groups Projects
Unverified Commit d8d4cc4c authored by cylon-x's avatar cylon-x :robot: Committed by Miroslav Kratochvil
Browse files

automatic formatting changes

parent a2687037
No related branches found
No related tags found
No related merge requests found
......@@ -17,10 +17,7 @@ function check_duplicate_reaction(
for (k, rxn) in rxns
if rxn.id != crxn.id # skip if same ID
if only_metabolites # only check if metabolites are the same
if issetequal(
keys(crxn.metabolites),
keys(rxn.metabolites),
)
if issetequal(keys(crxn.metabolites), keys(rxn.metabolites))
return k
end
else # also check the stoichiometric coefficients
......@@ -31,10 +28,8 @@ function check_duplicate_reaction(
break
end
end
if reaction_checker && issetequal(
keys(crxn.metabolites),
keys(rxn.metabolites),
)
if reaction_checker &&
issetequal(keys(crxn.metabolites), keys(rxn.metabolites))
return k
end
end
......
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