diff options
author | lltommy | 2020-04-21 16:59:51 +0200 |
---|---|---|
committer | lltommy | 2020-04-21 16:59:51 +0200 |
commit | b34531de1f49e4faa82a9c350f0c5d4169ccfeb4 (patch) | |
tree | bd387a7737feccadc92cb51fb72b2b105ec9a592 | |
parent | 85b85b676d7ecc218d9f84357b2e7ea0133eed94 (diff) | |
download | bh20-seq-resource-b34531de1f49e4faa82a9c350f0c5d4169ccfeb4.tar.gz bh20-seq-resource-b34531de1f49e4faa82a9c350f0c5d4169ccfeb4.tar.lz bh20-seq-resource-b34531de1f49e4faa82a9c350f0c5d4169ccfeb4.zip |
fixing silly mistake
-rw-r--r-- | scripts/from_genbank_to_fasta_and_yaml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/from_genbank_to_fasta_and_yaml.py b/scripts/from_genbank_to_fasta_and_yaml.py index 7e7c089..91562d0 100644 --- a/scripts/from_genbank_to_fasta_and_yaml.py +++ b/scripts/from_genbank_to_fasta_and_yaml.py @@ -213,7 +213,7 @@ if not os.path.exists(dir_fasta_and_yaml_today): #Remove technology key if empty! if (info_for_yaml_dict['technology']=={}): - del info_for_yaml_dict['key'] + del info_for_yaml_dict['technology'] with open(os.path.join(dir_fasta_and_yaml_today, '{}.fasta'.format(accession_version)), 'w') as fw: fw.write('>{}\n{}'.format(accession_version, GBSeq_sequence.text.upper())) |