summaryrefslogtreecommitdiff
path: root/Code/update_network_by_force.py
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2020-05-05 23:10:24 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2020-05-05 23:10:24 +0800
commit84f11492b59c7a624f831f7b869fa418973ab173 (patch)
treeb0615dec54f1e9f5740f042c511ffbfb3d3a8cb1 /Code/update_network_by_force.py
parentb9381f7970496a42ed4e68f790abb91c9b3d02c9 (diff)
update_netowrk_by_force.py: curl http://118.25.96.118/brain/before should be executed as a cron job.
Diffstat (limited to 'Code/update_network_by_force.py')
-rw-r--r--Code/update_network_by_force.py4
1 files changed, 0 insertions, 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