Skip to content

Commit

Permalink
config file handling update
Browse files Browse the repository at this point in the history
  • Loading branch information
bronsonj98 committed Jul 17, 2024
1 parent 05e826e commit 7ae44be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/arguments.h
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,9 @@ void parse_args(int argc, char const *argv[]){
command_line_opts.l = cfg.getValueOfKey<int>("l",0);
command_line_opts.OUTPUT_FILE_PATH = cfg.getValueOfKey<string>("output",string(""));
command_line_opts.GENOTYPE_FILE_PATH = cfg.getValueOfKey<string>("genotype",string(""));
command_line_opts.PHENOTYPE_FILE_PATH= cfg.getValueOfKey<string>("phenotype", string(""));
command_line_opts.PHENOTYPE_FILE_PATH= cfg.getValueOfKey<string>("phenotype", string(""));
if (command_line_opts.PHENOTYPE_FILE_PATH != "")
got_phenotype_file = true;
command_line_opts.COVARIATE_FILE_PATH= cfg.getValueOfKey<string>("covariate", string(""));
command_line_opts.XSUM_FILE_PATH= cfg.getValueOfKey<string>("summary_genotype", string(""));
command_line_opts.ENV_FILE_PATH = cfg.getValueOfKey<string>("environment", string(""));
Expand Down

0 comments on commit 7ae44be

Please sign in to comment.