diff options
author | xiangzhou | 2014-09-20 11:51:03 -0400 |
---|---|---|
committer | xiangzhou | 2014-09-20 11:51:03 -0400 |
commit | 1f35ffa0806f5f0d70f31f3894cfd1ef816c2fdb (patch) | |
tree | 2dc0724fd56152b9d174c4aa5c2562a72d042d59 /prdt.cpp | |
parent | 05307b545d60931d265f0c81c0ed67b97321e076 (diff) | |
download | pangemma-1f35ffa0806f5f0d70f31f3894cfd1ef816c2fdb.tar.gz |
version 0.95alpha
Diffstat (limited to 'prdt.cpp')
-rw-r--r-- | prdt.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -61,6 +61,7 @@ void PRDT::CopyFromParam (PARAM &cPar) file_bfile=cPar.file_bfile; file_geno=cPar.file_geno; file_out=cPar.file_out; + path_out=cPar.path_out; indicator_pheno=cPar.indicator_pheno; indicator_cvt=cPar.indicator_cvt; @@ -94,7 +95,7 @@ void PRDT::CopyToParam (PARAM &cPar) void PRDT::WriteFiles (gsl_vector *y_prdt) { string file_str; - file_str="./output/"+file_out; + file_str=path_out+"/"+file_out; file_str+="."; file_str+="prdt"; file_str+=".txt"; @@ -121,7 +122,7 @@ void PRDT::WriteFiles (gsl_vector *y_prdt) void PRDT::WriteFiles (gsl_matrix *Y_full) { string file_str; - file_str="./output/"+file_out; + file_str=path_out+"/"+file_out; file_str+=".prdt.txt"; ofstream outfile (file_str.c_str(), ofstream::out); |