Skip to content

Commit

Permalink
Fixed extra comma in gdtools COMPARE TABLE output header #368
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreybarrick committed May 28, 2024
1 parent 7dd473f commit 3b9d870
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/c/breseq/genome_diff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4283,7 +4283,7 @@ void cGenomeDiff::write_table_file(

// Output header line
ofstream output_file(output_file_name.c_str());
output_file << quote << "type" << quote << separator;
output_file << quote << "type" << quote;
for (vector<string>::iterator header_it = header_list.begin(); header_it != header_list.end(); header_it++) {
output_file << separator << quote << *header_it << quote;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/gdtools_compare_7/expected.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"type",,"seq_id","position","mutation","gd","gd_1","gd_2","annotation","gene","description"
"type","seq_id","position","mutation","gd","gd_1","gd_2","annotation","gene","description"
"DEL","NC_001416-0","139","Δ1 bp","?","1","1","intergenic (–/-52)","– / → nu1","–/DNA packaging protein"
"INS","NC_001416-1","4566","​+G","1","1","1","intergenic (+139/-10)","L → / → K","tail component/tail component"
"SNP","NC_001416-2","1261","A→G","1","1","1","K338E (AAA→GAA)|noncoding (107/621 nt)","orf-401 →|orf206b ←","Tail fiber protein|"
Expand Down

0 comments on commit 3b9d870

Please sign in to comment.