Skip to content

Commit

Permalink
Update create.py
Browse files Browse the repository at this point in the history
remove org_id from xml creation
  • Loading branch information
dthoward96 authored Mar 8, 2024
1 parent 4ffab0b commit 6c98b37
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions create.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ def create_submission_xml(organism, database, submission_name, config_dict, meta
comment.text = config_dict["Description"]["Comment"]
# Description info including organization and contact info
organization = etree.SubElement(description, "Organization", type=config_dict["Description"]["Organization"]["@type"], role=config_dict["Description"]["Organization"]["@role"])
if config_dict["Description"]["Organization"]["@org_id"]:
organization.set("org_id", config_dict["Description"]["Organization"]["@org_id"])
org_name = etree.SubElement(organization, "Name")
org_name.text = config_dict["Description"]["Organization"]["Name"]
if "GENBANK" not in database:
Expand Down

0 comments on commit 6c98b37

Please sign in to comment.