Skip to content

Commit

Permalink
main.cpp: Remove some whitespace clutter
Browse files Browse the repository at this point in the history
so that the next commit will look cute :)
  • Loading branch information
thomas committed Oct 9, 2017
1 parent 1dcfe72 commit 3a1d8ff
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,18 +562,18 @@ void RunProcess(void) {
}
else fout.open(out_align_file.c_str());
}

if(param.out_sam&&param.sam_header) {
char _ch[1000];
for(bit32_t i=0;i<ref.total_num;i++) {
sprintf(_ch,"@SQ\tSN:%s\tLN:%u\n",ref.title[i<<1].name.c_str(),ref.title[i<<1].size);
_str.append(_ch);
}
char _ch[1000];
for(bit32_t i=0;i<ref.total_num;i++) {
sprintf(_ch,"@SQ\tSN:%s\tLN:%u\n",ref.title[i<<1].name.c_str(),ref.title[i<<1].size);
_str.append(_ch);
}
sprintf(_ch,"@PG\tID:BSMAP\tVN:%s\tCL:\"%s\"\n",version,command_line.c_str()); _str.append(_ch);
if(param.stdout) cout<< _str;
else if(param.pipe_out) fwrite(_str.c_str(),1,_str.size(),pout);
if(param.stdout) cout<< _str;
else if(param.pipe_out) fwrite(_str.c_str(),1,_str.size(),pout);
else fout<<_str;
}
}
n_aligned=0;
info(1);
Do_SingleAlign();
Expand Down

0 comments on commit 3a1d8ff

Please sign in to comment.