Skip to content

Commit

Permalink
fix for #202
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienG committed May 3, 2021
1 parent 9662b8a commit 9ceb7fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iss/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def ncbi(kingdom, n_genomes, output):
genome_info = Entrez.read(
Entrez.esummary(
db='assembly',
id=ident))["DocumentSummarySet"]["DocumentSummary"][0]
id=ident),
validate=False)["DocumentSummarySet"]["DocumentSummary"][0]
if genome_info['FtpPath_RefSeq']:
url = genome_info['FtpPath_RefSeq']
url = "%s/%s_%s_genomic.fna.gz" \
Expand Down

0 comments on commit 9ceb7fc

Please sign in to comment.