Skip to content

Commit 9544851

Browse files
rwblaireffigies
andauthored
Update src/files/tsv.ts
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 085f8ae commit 9544851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/files/tsv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export async function loadTSVGZ(
7878

7979
async function _loadTSV(file: BIDSFile, maxRows: number = -1): Promise<ColumnsMap> {
8080
const reader = openStream(file)
81-
.pipeThrough(createUTF8Stream(true))
81+
.pipeThrough(createUTF8Stream({ fatal: true }))
8282
.pipeThrough(new TextLineStream())
8383
.getReader()
8484

0 commit comments

Comments
 (0)