aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance/dataset/utilities
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/maintenance/dataset/utilities')
-rw-r--r--wqflask/maintenance/dataset/utilities/__init__.py0
-rw-r--r--wqflask/maintenance/dataset/utilities/db.py10
-rw-r--r--wqflask/maintenance/dataset/utilities/fetch.py11
-rw-r--r--wqflask/maintenance/dataset/utilities/test.py3
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