summaryrefslogtreecommitdiff
path: root/Code
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2025-04-06 09:35:41 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2025-04-06 09:35:41 +0800
commit078feb13937fe6566307e4ad612a7bc93b7fcf9c (patch)
tree4d90bd65cd063c2937e2d67ca9942ea604513ead /Code
parent8d66e1bf2e65338cf318aafc3bfacccc68f53887 (diff)
Show number of remaining RNA-Seq data to reflect remaining work
Diffstat (limited to 'Code')
-rw-r--r--Code/download_and_map.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Code/download_and_map.py b/Code/download_and_map.py
index a78409e..3f6e14b 100644
--- a/Code/download_and_map.py
+++ b/Code/download_and_map.py
@@ -406,7 +406,7 @@ else:
# Make a record in log.txt
curr_time = datetime.now().strftime('%Y-%m-%d_%H%M') # append date info to newly created directories
-write_download_log_file(DOWNLOADED_SRA_ID_LOG_FILE, 'START at %s\n' % (curr_time))
+write_download_log_file(DOWNLOADED_SRA_ID_LOG_FILE, 'START at %s (remaining %d)\n' % (curr_time, len(download_list)))
# Download these RNA-seq IDs and map them using salmon
print('[download_and_map.py] Start downloading and mapping ...')