From e0f5bcdf052c267472c70ae5097e6474d15ef2e2 Mon Sep 17 00:00:00 2001 From: Tatiana Gurbich Date: Tue, 23 Jul 2024 11:02:29 +0100 Subject: [PATCH] Added a fix for collection date format --- genomeuploader/genome_upload.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/genomeuploader/genome_upload.py b/genomeuploader/genome_upload.py index 9763605..84dd092 100755 --- a/genomeuploader/genome_upload.py +++ b/genomeuploader/genome_upload.py @@ -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]