aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance/dataset/utilities
diff options
context:
space:
mode:
authorroot2014-01-24 15:31:18 -0600
committerroot2014-01-24 15:31:18 -0600
commit3e4c187e00b7eaafca2d3c215777cdc3b4101a33 (patch)
tree5938ca69cb145e62b0530e2377090dff3879cffc /wqflask/maintenance/dataset/utilities
parent7e8aa8f8531d8796ed52caea18451f558633bb36 (diff)
downloadgenenetwork2-3e4c187e00b7eaafca2d3c215777cdc3b4101a33.tar.gz
Committer: root <root@alexandria.uthsc.edu>
On branch master
Diffstat (limited to 'wqflask/maintenance/dataset/utilities')
-rw-r--r--wqflask/maintenance/dataset/utilities/fetch.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/wqflask/maintenance/dataset/utilities/fetch.py b/wqflask/maintenance/dataset/utilities/fetch.py
new file mode 100644
index 00000000..fcb2d2d8
--- /dev/null
+++ b/wqflask/maintenance/dataset/utilities/fetch.py
@@ -0,0 +1,11 @@
+import sys
+
+inputfile = open(sys.argv[1], 'r')
+
+for line in inputfile:
+ cells = line.split()
+ #print cells[int(sys.argv[2])]
+ i = len(cells)
+ print i
+
+inputfile.close()