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/utilities | |
parent | c1bd0f562b5249b9a6911e3873dad8dd853aaab7 (diff) | |
download | genenetwork2-b462fae9df948dbf35232a764d61fbf10c930e82.tar.gz |
On branch master
Diffstat (limited to 'wqflask/maintenance/dataset/utilities')
-rw-r--r-- | wqflask/maintenance/dataset/utilities/__init__.py | 0 | ||||
-rw-r--r-- | wqflask/maintenance/dataset/utilities/db.py | 10 | ||||
-rw-r--r-- | wqflask/maintenance/dataset/utilities/fetch.py | 11 | ||||
-rw-r--r-- | wqflask/maintenance/dataset/utilities/test.py | 3 |
4 files changed, 0 insertions, 24 deletions
diff --git a/wqflask/maintenance/dataset/utilities/__init__.py b/wqflask/maintenance/dataset/utilities/__init__.py deleted file mode 100644 index e69de29b..00000000 --- a/wqflask/maintenance/dataset/utilities/__init__.py +++ /dev/null diff --git a/wqflask/maintenance/dataset/utilities/db.py b/wqflask/maintenance/dataset/utilities/db.py deleted file mode 100644 index 453ee707..00000000 --- a/wqflask/maintenance/dataset/utilities/db.py +++ /dev/null @@ -1,10 +0,0 @@ -import MySQLdb - -def get_cursor(): - host = 'localhost' - user = 'webqtl' - passwd = 'webqtl' - db = 'db_webqtl' - con = MySQLdb.Connect(db=db, host=host, user=user, passwd=passwd) - cursor = con.cursor() - return cursor
\ No newline at end of file diff --git a/wqflask/maintenance/dataset/utilities/fetch.py b/wqflask/maintenance/dataset/utilities/fetch.py deleted file mode 100644 index fcb2d2d8..00000000 --- a/wqflask/maintenance/dataset/utilities/fetch.py +++ /dev/null @@ -1,11 +0,0 @@ -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() diff --git a/wqflask/maintenance/dataset/utilities/test.py b/wqflask/maintenance/dataset/utilities/test.py deleted file mode 100644 index 340377b3..00000000 --- a/wqflask/maintenance/dataset/utilities/test.py +++ /dev/null @@ -1,3 +0,0 @@ -import db - -print db.get_cursor()
\ No newline at end of file |