Skip to content

Commit

Permalink
add fastq name to log information
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetit3 committed Jul 9, 2022
1 parent 6c1e043 commit 8910870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastq-dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def download_ena_fastq(fasp, ftp, outdir, md5, aspera, max_attempts=10, ftp_only

while not success:
if ftp_only:
logging.info(f"\t\tFTP download attempt {attempt + 1}")
logging.info(f"\t\t{os.path.basename(fasp)} FTP download attempt {attempt + 1}")
execute(
f"wget --quiet -O {fastq} ftp://{ftp}", max_attempts=max_attempts
)
Expand Down

0 comments on commit 8910870

Please sign in to comment.