Skip to content

Commit

Permalink
Fix exception typo
Browse files Browse the repository at this point in the history
  • Loading branch information
s-andrews committed Aug 13, 2020
1 parent ffc3ef8 commit 1acbf88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sradownloader
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def download_sample_ncbi (sample, options):
downloaded_files = glob.glob(options.outdir+"/"+sample['file_base']+"*.fastq")

if len(downloaded_files) == 0:
raise IOError(f"[NCBI] Got no files for accession {sample['accession']}" file=sys.stderr, flush=True)
raise IOError(f"[NCBI] Got no files for accession {sample['accession']}")

for file in downloaded_files:
if not options.quiet:
Expand Down

0 comments on commit 1acbf88

Please sign in to comment.