From 84f11492b59c7a624f831f7b869fa418973ab173 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Tue, 5 May 2020 23:10:24 +0800 Subject: update_netowrk_by_force.py: curl http://118.25.96.118/brain/before should be executed as a cron job. --- Code/update_network_by_force.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Code/update_network_by_force.py b/Code/update_network_by_force.py index 221be74..aafa2f0 100644 --- a/Code/update_network_by_force.py +++ b/Code/update_network_by_force.py @@ -101,10 +101,6 @@ def summarize_edge_file(fname): return 'Total edges is 0.' -########## Renew saved G.pickle and SOURCE_NODES.pickle in Webapp ####################### -cmd = 'curl http://118.25.96.118/brain/before' -os.system(cmd) - ########## Merge edges ####################### # Update edges.txt, a merged file from two sources, HISTORY_DIR and HISTORY_DIR2. Some new edge files are being generated ... # Definition of HISTORY_DIR and HISTORY_DIR2 could be found in configure.py -- cgit v1.2.1