diff options
-rw-r--r-- | Code/test.py | 14 |
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)) |