Skip to content

Commit

Permalink
Delete column splices when cell value is blank
Browse files Browse the repository at this point in the history
  • Loading branch information
happy5214 committed Sep 13, 2024
1 parent c68bdd6 commit 0037c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bids/validator/bidsHedTsvValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export class BidsHedTsvParser {
const columnSpliceMapping = new Map()

for (const [columnName, columnValue] of rowCells.entries()) {
if (columnValue === 'n/a') {
if (columnValue === 'n/a' || columnValue === '') {
columnSpliceMapping.set(columnName, null)
continue
}
Expand Down

0 comments on commit 0037c24

Please sign in to comment.