about summary refs log tree commit diff
path: root/lm.cpp
diff options
context:
space:
mode:
authorxiangzhou2014-09-20 11:51:03 -0400
committerxiangzhou2014-09-20 11:51:03 -0400
commit1f35ffa0806f5f0d70f31f3894cfd1ef816c2fdb (patch)
tree2dc0724fd56152b9d174c4aa5c2562a72d042d59 /lm.cpp
parent05307b545d60931d265f0c81c0ed67b97321e076 (diff)
downloadpangemma-1f35ffa0806f5f0d70f31f3894cfd1ef816c2fdb.tar.gz
version 0.95alpha
Diffstat (limited to 'lm.cpp')
-rw-r--r--lm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lm.cpp b/lm.cpp
index c983253..7577d0a 100644
--- a/lm.cpp
+++ b/lm.cpp
@@ -65,6 +65,7 @@ void LM::CopyFromParam (PARAM &cPar)
 	file_bfile=cPar.file_bfile;
 	file_geno=cPar.file_geno;
 	file_out=cPar.file_out;
+	path_out=cPar.path_out;
 	file_gene=cPar.file_gene;
 	
 	time_opt=0.0;
@@ -100,7 +101,7 @@ void LM::CopyToParam (PARAM &cPar)
 void LM::WriteFiles () 
 {
 	string file_str;
-	file_str="./output/"+file_out;
+	file_str=path_out+"/"+file_out;
 	file_str+=".assoc.txt";
 
 	ofstream outfile (file_str.c_str(), ofstream::out);