Skip to content

Commit

Permalink
Fix missing error pour unknown output or chain.
Browse files Browse the repository at this point in the history
  • Loading branch information
qmarcou committed Jan 2, 2020
1 parent 6df30a0 commit cb693ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions igor_src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,9 @@ int main(int argc , char* argv[]){
shared_ptr<Counter> coverage_counter_ptr(new Coverage_err_counter(cl_path + "output/",chosen_gc,1,false,true));
cl_counters_list.emplace(cl_counters_list.size(),coverage_counter_ptr);
}
else{
return terminate_IGoR_with_error_message("Unknown subargument \""+string(argv[carg_i])+"\" to specify outputs");
}
}
}

Expand Down Expand Up @@ -1079,6 +1082,9 @@ int main(int argc , char* argv[]){
//TODO infer only \mu for the hypermutation model
}
}
else{
return terminate_IGoR_with_error_message("Unknown parameter \""+string(argv[carg_i])+"\" to specify immune chain of interest.");
}
//Read CDR3 anchors(cystein, tryptophan/phenylalanin indices)
try{
v_CDR3_anchors = read_gene_anchors_csv(string(IGOR_DATA_DIR) + "/models/"+species_str+"/"+chain_path_str+"/ref_genome/V_gene_CDR3_anchors.csv");
Expand Down

0 comments on commit cb693ee

Please sign in to comment.