aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Yan2014-02-21 11:57:51 -0600
committerLei Yan2014-02-21 11:57:51 -0600
commit6892acb908a5a1ecc1a5f090a04b666965704bc5 (patch)
tree6b2c9a6901983e58d8f6c1317fbe847cbf2bf189
parent48dbe8fb24af54302f5f5351a86103fcd237aa2c (diff)
downloadgenenetwork2-6892acb908a5a1ecc1a5f090a04b666965704bc5.tar.gz
On branch master
-rw-r--r--wqflask/maintenance/dataset/datasampledir/load_phenotypes/config.ini4
-rw-r--r--wqflask/maintenance/dataset/load_phenotypes.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/maintenance/dataset/datasampledir/load_phenotypes/config.ini b/wqflask/maintenance/dataset/datasampledir/load_phenotypes/config.ini
index c76e0931..638c3bd8 100644
--- a/wqflask/maintenance/dataset/datasampledir/load_phenotypes/config.ini
+++ b/wqflask/maintenance/dataset/datasampledir/load_phenotypes/config.ini
@@ -1,4 +1,4 @@
[config]
inbredsetid = 1
-datafile = sample_data.txt
-metafile = sample_meta.txt
+datafile = datasampledir/load_phenotypes/sample_data.txt
+metafile = datasampledir/load_phenotypes/sample_meta.txt
diff --git a/wqflask/maintenance/dataset/load_phenotypes.py b/wqflask/maintenance/dataset/load_phenotypes.py
index de9bc6a8..4e7a5414 100644
--- a/wqflask/maintenance/dataset/load_phenotypes.py
+++ b/wqflask/maintenance/dataset/load_phenotypes.py
@@ -31,6 +31,7 @@ def main(argv):
phenotypemeta = csv.reader(metafile, delimiter='\t', quotechar='"')
phenotypemeta_head = phenotypemeta.next()
print "phenotypemeta head:\n\t%s" % phenotypemeta_head
+ print
# load
for metarow in phenotypemeta:
#
@@ -160,6 +161,7 @@ def main(argv):
print "INSERT INTO PublishXRef: %d record: %d" % (rowcount, publishxrefid)
# for loop next
dataid += 1
+ print
# release
con.close()