diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2019-12-04 19:03:19 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2019-12-04 19:03:19 +0800 |
commit | 97fdefab064f63642fa3ece05b807d29b459df31 (patch) | |
tree | a058530023224f3e35b1783996f3530c80c04bc5 /Code/json_test.py |
brain: add python and R code to local repository.
Diffstat (limited to 'Code/json_test.py')
-rw-r--r-- | Code/json_test.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Code/json_test.py b/Code/json_test.py new file mode 100644 index 0000000..c4ca7bd --- /dev/null +++ b/Code/json_test.py @@ -0,0 +1,8 @@ +import json +old_json = '../Data/information/rnaseq_info_database.json' # generated by parse_xml.py +with open(old_json) as json_data: + json_dict = json.load(json_data) + for k in json_dict: + print(k) + # if k in tissue_dict: + # json_dict[k]['tissue'] = tissue_dict[k] |