Skip to content
Snippets Groups Projects
Commit 25c89204 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Merge branch 'operon-struct-type' into operon-struct-type-article

parents 51db59df 031015b9
No related branches found
No related tags found
No related merge requests found
Pipeline #129400 failed with stages
in 10 minutes and 33 seconds
......@@ -304,7 +304,11 @@ def system_operon_structure(
with open(def_path["path"]) as file:
for event, elem in ET.iterparse(file, events=("start", "end")):
if event == "start":
if elem.tag == "gene" and not in_exchangeables:
if (
elem.tag == "gene"
and not in_exchangeables
and elem.attrib["presence"] != "forbidden"
):
current_gene = {
"system": system,
"subsystem": subsystem,
......
[tool.poetry]
name = "df-wiki-cli"
version = "0.2.0"
version = "0.2.1"
description = ""
authors = ["Remi PLANEL <rplanel@pasteur.fr>"]
readme = "README.md"
......
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