Skip to content

Commit

Permalink
fix missing column for reference/other rows in AA table downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
atc3 committed Dec 15, 2020
1 parent 27a3dc3 commit 5ec918c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/download.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function downloadAggCaseDataSnp(dnaOrAa, dataAggGroup, changingPositions) {
} else {
// Handle reference row
if (Object.values(GROUPS).includes(row['group'])) {
csvString += row['group'] + ',,,,';
csvString += row['group'] + ',,,,,';
} else {
csvString +=
[row['gene'], row['pos'], row['ref'], row['alt']].join('|') + ',';
Expand Down

0 comments on commit 5ec918c

Please sign in to comment.