From 9f0f2149a008362558cdb18953f734285af6fd38 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Wed, 10 Feb 2021 14:38:16 +0800 Subject: test.py: delete it as it is for temporary testing purpose only. --- Code/test.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 Code/test.py (limited to 'Code/test.py') 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)) -- cgit v1.2.1