Skip to content

Commit

Permalink
Dthoward96 org id patch (#42)
Browse files Browse the repository at this point in the history
* Update cov_config.yaml

remove org_id from examples

* Update flu_config.yaml

remove org_id from examples

* Update create.py

remove org_id from xml creation
  • Loading branch information
dthoward96 authored Mar 8, 2024
1 parent 6e95bd3 commit 3f6433d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 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
1 change: 0 additions & 1 deletion template/COV/cov_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Submission:
Organization:
'@role': owner
'@type': institute
'@org_id': 12345
Name: CDC
Address:
Affil: Centers for Disease Control and Prevention
Expand Down
1 change: 0 additions & 1 deletion template/FLU/flu_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Submission:
Organization:
'@role': owner
'@type': institute
'@org_id': 12345
Name: CDC
Address:
Affil: Centers for Disease Control and Prevention
Expand Down

0 comments on commit 3f6433d

Please sign in to comment.