diff options
Diffstat (limited to 'Code')
-rw-r--r-- | Code/update_network_by_force.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Code/update_network_by_force.py b/Code/update_network_by_force.py index ead3bf2..55fd272 100644 --- a/Code/update_network_by_force.py +++ b/Code/update_network_by_force.py @@ -142,7 +142,7 @@ if os.path.getmtime(MERGED_EDGE_FILE) < os.path.getmtime(EDGE_POOL_DIR): # edge write_log_file('[update_network_by_force.py] %s' % (summarize_edge_file(MERGED_EDGE_FILE)), UPDATE_NETWORK_LOG_FILE) manual_copy_commands = 'Please copy files to the web application: sudo cp /home/lanhui/brain/Data/temp/edges.txt /var/www/brain/brain/static/edges/edges.txt sudo cp /home/lanhui/brain/Data/temp/html_edges/edges.sqlite /var/www/brain/brain/static/edges curl http://118.25.96.118/brain/before' write_log_file('[update_network_by_force.py] %s' % (manual_copy_commands), UPDATE_NETWORK_LOG_FILE) - cmd = 'html_network.py -f %s -r ../Data/parameter/parameter_for_buildRmatrix.txt -c ../Data/parameter/parameter_for_buildCmatrix.txt -n ../Data/parameter/parameter_for_net.txt' % (MERGED_EDGE_FILE, PARAMETER_FOR_BUILDRMATRIX, PARAMETER_FOR_BUILDCMATRIX, PARAMETER_FOR_NET) + cmd = 'html_network.py -f %s -r %s -c %s -n %s' % (MERGED_EDGE_FILE, PARAMETER_FOR_BUILDRMATRIX, PARAMETER_FOR_BUILDCMATRIX, PARAMETER_FOR_NET) os.system(cmd) copy_and_backup_file(MERGED_EDGE_FILE, '../Analysis') # the backup file will be used for further analysis |