aboutsummaryrefslogtreecommitdiff
path: root/lm.cpp
diff options
context:
space:
mode:
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);