aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-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()