about summary refs log tree commit diff
path: root/mvlmm.cpp
diff options
context:
space:
mode:
authorxiangzhou2014-09-20 11:51:03 -0400
committerxiangzhou2014-09-20 11:51:03 -0400
commit1f35ffa0806f5f0d70f31f3894cfd1ef816c2fdb (patch)
tree2dc0724fd56152b9d174c4aa5c2562a72d042d59 /mvlmm.cpp
parent05307b545d60931d265f0c81c0ed67b97321e076 (diff)
downloadpangemma-1f35ffa0806f5f0d70f31f3894cfd1ef816c2fdb.tar.gz
version 0.95alpha
Diffstat (limited to 'mvlmm.cpp')
-rw-r--r--mvlmm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/mvlmm.cpp b/mvlmm.cpp
index 56540d8..4b910ee 100644
--- a/mvlmm.cpp
+++ b/mvlmm.cpp
@@ -68,6 +68,7 @@ void MVLMM::CopyFromParam (PARAM &cPar)
 	file_bfile=cPar.file_bfile;
 	file_geno=cPar.file_geno;
 	file_out=cPar.file_out;
+	path_out=cPar.path_out;
 	
 	l_min=cPar.l_min;
 	l_max=cPar.l_max;
@@ -132,7 +133,7 @@ void MVLMM::CopyToParam (PARAM &cPar)
 void MVLMM::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);