summaryrefslogtreecommitdiff
path: root/Code/test.py
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2021-02-10 14:38:16 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2021-02-10 14:38:16 +0800
commit9f0f2149a008362558cdb18953f734285af6fd38 (patch)
treeda92b82297c7b2f09166c384b18efe17dcf35e48 /Code/test.py
parent88c0ce1469e59448f5ca97d60d10e15be8826065 (diff)
test.py: delete it as it is for temporary testing purpose only.
Diffstat (limited to 'Code/test.py')
-rw-r--r--Code/test.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/Code/test.py b/Code/test.py
deleted file mode 100644
index 92bb2bf..0000000
--- a/Code/test.py
+++ /dev/null
@@ -1,14 +0,0 @@
-import json
-
-def read_ena_data_info_json(fname):
- d = {}
- with open(fname) as json_data:
- json_dict = json.load(json_data)
- for run_id in json_dict:
- if json_dict[run_id]['library_strategy'].lower() == 'rna-seq' and json_dict[run_id]['library_source'].lower() == 'transcriptomic':
- d[run_id] = 1
- return d
-
-
-d = read_ena_data_info_json('../Data/information/rnaseq_info_database.json')
-print(len(d))