aboutsummaryrefslogtreecommitdiff
path: root/scripts/download_genbank_data
diff options
context:
space:
mode:
authorAndreaGuarracino2020-11-13 22:41:47 +0100
committerAndreaGuarracino2020-11-13 22:41:47 +0100
commit0d7f1bc0000df215e85f0da1143703e311328dea (patch)
tree2615907b92ca783512209cfa7eef629de4fc9ce3 /scripts/download_genbank_data
parentcb94ded3ea7d28a81ab41fc88ffd291bc0f8c079 (diff)
downloadbh20-seq-resource-0d7f1bc0000df215e85f0da1143703e311328dea.tar.gz
bh20-seq-resource-0d7f1bc0000df215e85f0da1143703e311328dea.tar.lz
bh20-seq-resource-0d7f1bc0000df215e85f0da1143703e311328dea.zip
fix check date sra script
Diffstat (limited to 'scripts/download_genbank_data')
-rwxr-xr-xscripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py b/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py
index 1352027..442a9a5 100755
--- a/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py
+++ b/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py
@@ -409,7 +409,6 @@ for path_metadata_xxx_xml in [os.path.join(dir_metadata, name_metadata_xxx_xml)
year, month, day = [int(x) for x in info_for_yaml_dict['sample']['collection_date'].split('-')]
collection_date_in_yaml = datetime(year, month, day)
-
if collection_date_in_yaml < min_acceptable_collection_date:
if accession_version not in not_created_accession_dict:
not_created_accession_dict[accession_version] = []