Skip to content

Commit

Permalink
Removed changing collection date to lowercase as this was failing checks
Browse files Browse the repository at this point in the history
  • Loading branch information
tgurbich committed Jul 25, 2024
1 parent 7ff357d commit bea6b38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions genomeuploader/genome_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,8 @@ def extract_ENA_info(genomeInfo, uploadDir, webin, password):
if not country in GEOGRAPHIC_LOCATIONS:
country = "not provided"

collectionDate = sampleInfo["collection_date"].lower()
if not collectionDate or collectionDate == "missing" or collectionDate in \
collectionDate = sampleInfo["collection_date"]
if not collectionDate or collectionDate.lower() == "missing" or collectionDate.lower() in \
["not applicable", "not available", "na"]:
collectionDate = "not provided"

Expand Down

0 comments on commit bea6b38

Please sign in to comment.