diff options
author | Lei Yan | 2014-02-03 12:28:08 -0600 |
---|---|---|
committer | Lei Yan | 2014-02-03 12:28:08 -0600 |
commit | b462fae9df948dbf35232a764d61fbf10c930e82 (patch) | |
tree | abadc34dc66b7fdf53adba9b6505ea327ba2a71f /wqflask/maintenance/dataset/fetch.py | |
parent | c1bd0f562b5249b9a6911e3873dad8dd853aaab7 (diff) | |
download | genenetwork2-b462fae9df948dbf35232a764d61fbf10c930e82.tar.gz |
On branch master
Diffstat (limited to 'wqflask/maintenance/dataset/fetch.py')
-rw-r--r-- | wqflask/maintenance/dataset/fetch.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/wqflask/maintenance/dataset/fetch.py b/wqflask/maintenance/dataset/fetch.py new file mode 100644 index 00000000..fcb2d2d8 --- /dev/null +++ b/wqflask/maintenance/dataset/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() |