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

automatic formatting changes

parent 5ed9ff1f
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,12 @@ function check_duplicate_annotations(
for (k, gene) in gs
if k != check_gene.id
for anno in inspect_annotations
if !isempty(intersect(get(gene.annotations, anno, ["c1"]), get(check_gene.annotations, anno, "c2")))
if !isempty(
intersect(
get(gene.annotations, anno, ["c1"]),
get(check_gene.annotations, anno, "c2"),
),
)
return k
end
end
......
......@@ -13,7 +13,12 @@ function check_duplicate_annotations(
for (k, met) in mets
if met.compartment == cmet.compartment && k != cmet.id
for anno in inspect_annotations
if !isempty(intersect(get(met.annotations, anno, ["c1"]), get(cmet.annotations, anno, ["c2"])))
if !isempty(
intersect(
get(met.annotations, anno, ["c1"]),
get(cmet.annotations, anno, ["c2"]),
),
)
return k
end
end
......
......@@ -54,7 +54,12 @@ function check_duplicate_annotations(
for (k, rxn) in rxns
if k != crxn.id
for anno in inspect_annotations
if !isempty(intersect(get(crxn.annotations, anno, ["c1"]), get(rxn.annotations, anno, ["c2"])))
if !isempty(
intersect(
get(crxn.annotations, anno, ["c1"]),
get(rxn.annotations, anno, ["c2"]),
),
)
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