diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2022-11-20 18:42:51 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2022-11-20 18:42:51 +0800 |
commit | fc7c809c2d0bc3de120c3836d2800b271f9be607 (patch) | |
tree | a7b0d85d9a5cab221db771811438230833ce64fb | |
parent | 2812e007f8cee3c17496bec1246fbae660826d2c (diff) |
update_network.py: no longer need to redirect to file
-rwxr-xr-x | Code/update_network.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Code/update_network.py b/Code/update_network.py index 542cbdf..e8d5a1d 100755 --- a/Code/update_network.py +++ b/Code/update_network.py @@ -755,7 +755,7 @@ if 'TPM.txt' in updated_file_list: # we could _touch_ TPM.txt to make it recent. if False: # TODO For now I will always use travadb's TPM.txt (138 columns) to display scatterplots. Simpler and faster. write_log_file('Assign tissue, refine tissue and update rnaseq_info_database.json', UPDATE_NETWORK_LOG_FILE) os.environ["PYTHONIOENCODING"] = "UTF-8" # for non-ascii letters in ENA RNA-sample description. If this statement does not work, try 'export PYTHONIOENCODING=UTF-8' in the command line instead. The export command can be put in crontab -e before running this script - cmd = 'python3 assign_tissue.py > ../Data/temp/experiment.and.tissue.1.txt' + cmd = 'python3 assign_tissue.py' os.system(cmd) cmd = 'python3 refine_tissue.py > ../Data/information/experiment.and.tissue.2.txt' os.system(cmd) |