diff options
author | Lei Yan | 2014-02-21 11:57:51 -0600 |
---|---|---|
committer | Lei Yan | 2014-02-21 11:57:51 -0600 |
commit | 6892acb908a5a1ecc1a5f090a04b666965704bc5 (patch) | |
tree | 6b2c9a6901983e58d8f6c1317fbe847cbf2bf189 /wqflask | |
parent | 48dbe8fb24af54302f5f5351a86103fcd237aa2c (diff) | |
download | genenetwork2-6892acb908a5a1ecc1a5f090a04b666965704bc5.tar.gz |
On branch master
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/maintenance/dataset/datasampledir/load_phenotypes/config.ini | 4 | ||||
-rw-r--r-- | wqflask/maintenance/dataset/load_phenotypes.py | 2 |
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() |