Repository 'network_attributes'
hg clone https://toolshed.g2.bx.psu.edu/repos/bornea/network_attributes

Changeset 2:40339590a08d (2017-10-18)
Previous changeset 1:e4a55256547a (2017-10-18)
Commit message:
Uploaded
added:
Calculate_attributes_wrapper.py
b
diff -r e4a55256547a -r 40339590a08d Calculate_attributes_wrapper.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Calculate_attributes_wrapper.py Wed Oct 18 15:23:21 2017 -0400
[
@@ -0,0 +1,9 @@
+import sys
+import os
+import subprocess
+edgeList = sys.argv[1]
+centrality = sys.argv[2]
+community = sys.argv[3]
+output = sys.argv[4]
+os.system(r"Rscript "+"Calculate_attributes.R "+ str(edgeList) + r" " + str(centrality)+ r" " + str(community))
+os.rename("node_attr.txt",str(output))