aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gemma.cpp1
-rw-r--r--src/lmm.cpp6
2 files changed, 5 insertions, 2 deletions
diff --git a/src/gemma.cpp b/src/gemma.cpp
index df8934e..50b13b1 100644
--- a/src/gemma.cpp
+++ b/src/gemma.cpp
@@ -1601,6 +1601,7 @@ void GEMMA::Assign(int argc, char **argv, PARAM &cPar) {
debug_set_strict_mode(true);
} else if (strcmp(argv[i], "-legacy") == 0) {
debug_set_legacy_mode(true);
+ warning_msg("you are running in legacy mode - support may drop in future versions of gemma");
} else {
cout << "error! unrecognized option: " << argv[i] << endl;
cPar.error = true;
diff --git a/src/lmm.cpp b/src/lmm.cpp
index ecc8231..91354e1 100644
--- a/src/lmm.cpp
+++ b/src/lmm.cpp
@@ -112,7 +112,8 @@ void LMM::WriteFiles() {
outfile << "se" << "\t";
}
- outfile << "logl_H1" << "\t"; // we may make this an option
+ if (!is_legacy_mode())
+ outfile << "logl_H1" << "\t"; // we may make this an option
switch(a_mode) {
case 1:
@@ -144,7 +145,8 @@ void LMM::WriteFiles() {
outfile << st.se << "\t";
}
- outfile << st.logl_H1 << "\t";
+ if (!is_legacy_mode())
+ outfile << st.logl_H1 << "\t";
switch(a_mode) {
case 1: