summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2021-02-10 14:27:51 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2021-02-10 14:27:51 +0800
commit8a521038c66c34ec35e4fa9d64585b963cd7114c (patch)
tree8d8e2e45857277bad2019ce00073a71fc1a306dd
parentf9baea0a3bf8adcf2066b1639bb41477fc053538 (diff)
download_and_map.py: remove function read_ena_data_info() as it is no longer used.
-rw-r--r--Code/download_and_map.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/Code/download_and_map.py b/Code/download_and_map.py
index 7cbc064..0c7bfb5 100644
--- a/Code/download_and_map.py
+++ b/Code/download_and_map.py
@@ -312,18 +312,6 @@ def last_session_finished(fname):
return last_status == 'DONE'
-def read_ena_data_info(fname):
- d = {}
- f = open(fname)
- for line in f:
- line = line.strip()
- lst = line.split()
- run_id = lst[0]
- d[run_id] = 1
- f.close()
- return d
-
-
def read_ena_data_info_json(fname):
with open(fname) as json_data:
json_dict = json.load(json_data)