From 41e2651693d73eabb9d403ea01dad1e1ec999dfd Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Tue, 6 May 2025 19:43:51 +0800 Subject: Turn on wget's quiet mode, so that it won't show info about the downloading process, therefore reducing the amount of data written to /var/lanhui/mail --- Code/download_and_map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Code/download_and_map.py') diff --git a/Code/download_and_map.py b/Code/download_and_map.py index cf34026..3dfb68f 100644 --- a/Code/download_and_map.py +++ b/Code/download_and_map.py @@ -207,7 +207,7 @@ def download_and_map_data(lst, daily_map_num, dest): for link in url_lst: sz = get_remote_file_size(link) if sz >= MIN_FASTQ_FILE_SIZE: # remote file must be big enough - cmd = 'wget %s -P %s' % (link, dest) + cmd = 'wget -q %s -P %s' % (link, dest) os.system(cmd) file_path = os.path.join(dest, os.path.basename(link)) curr_lst.append(file_path) -- cgit v1.2.1