Skip to content

Commit

Permalink
Added a fix for collection date format
Browse files Browse the repository at this point in the history
  • Loading branch information
tgurbich committed Jul 23, 2024
1 parent 15b98b1 commit e0f5bcd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions genomeuploader/genome_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,8 @@ def combine_ENA_info(genomeInfo, ENADict):
collectionDate = collectionList[0]
if multipleElementSet(collectionList):
collectionDate = "not provided"
if collectionDate.lower() == "not applicable":
collectionDate = "not provided"
genomeInfo[g]["collectionDate"] = collectionDate

country = countryList[0]
Expand Down

1 comment on commit e0f5bcd

@Ge94
Copy link
Member

@Ge94 Ge94 commented on e0f5bcd Jul 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self: all these changes to be applied to both single-assembly and co-assembly entries

Please sign in to comment.