Skip to content

Commit

Permalink
Help message clarification
Browse files Browse the repository at this point in the history
apparently no one read it in detail (that's why the error can still be here after almost  a year...)
  • Loading branch information
choishingwan committed Oct 13, 2017
1 parent cc3b6e5 commit 4ed41c2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions PRSice.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ help_message <-
--beta Whether the test statistic is in the form of \n
BETA or OR. If set, test statistic is assume\n
to be in the form of BETA.\n
--A1 Column header containing the reference allele\n
--A1 Column header containing allele 1 (effect allele)\n
Default: A1\n
--A2 Column header containing the alternative allele\n
--A2 Column header containing allele 2 (reference allele)\n
Default: A2\n
--bp Column header containing the SNP coordinate\n
Default: BP\n
Expand Down
8 changes: 4 additions & 4 deletions inc/prsice.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ class PRSice
std::ofstream log_file_stream;
log_file_stream.open(m_log_file.c_str(), std::ofstream::app);
if (!log_file_stream.is_open()) {
std::string error_message =
"ERROR: Cannot open log file: " + m_log_file;
throw std::runtime_error(error_message);
std::string error_message =
"ERROR: Cannot open log file: " + m_log_file;
throw std::runtime_error(error_message);
}
log_file_stream << "Seed: "<< m_seed << std::endl;
log_file_stream << "Seed: " << m_seed << std::endl;
log_file_stream.close();
bool has_binary = false;
for (auto&& b : m_target_binary) {
Expand Down
8 changes: 4 additions & 4 deletions src/commander.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -533,11 +533,11 @@ void Commander::info()
" BETA or OR. If set, test statistic is "
"assume\n"
" to be in the form of BETA.\n"
" --A1 Column header containing the reference "
"allele\n"
" --A1 Column header containing allele 1 (effect "
"allele)\n"
" Default: A1\n"
" --A2 Column header containing the alternative "
"allele\n"
" --A2 Column header containing allele 2 "
"(reference allele)\n"
" Default: A2\n"
" --bp Column header containing the SNP "
"coordinate\n"
Expand Down

0 comments on commit 4ed41c2

Please sign in to comment.