diff options
Diffstat (limited to 'Code')
-rw-r--r-- | Code/slice_TPM_to_JSON.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Code/slice_TPM_to_JSON.py b/Code/slice_TPM_to_JSON.py index b2edfa2..7509f00 100644 --- a/Code/slice_TPM_to_JSON.py +++ b/Code/slice_TPM_to_JSON.py @@ -141,7 +141,7 @@ def make_json_file_using_r(dir_name, glb_param_dict): # use r script to make it dir.create(dir.name) } for (i in 1:dim(X)[1]) { - y <- toJSON(unbox(X[i,]), digits=I(3)) + y <- toJSON(unbox(X[i,]), digits=I(3), pretty=TRUE) file.name = paste(dir.name, paste(gene.id[i], 'json', sep='.'), sep='/') cat(y, file=file.name) } |