Skip to content

Commit 5e92313

Browse files
committed
feat: Pass maxRows to loadTSV for context.columns
1 parent 4f29c89 commit 5e92313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/schema/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export class BIDSContext implements Context {
232232
return
233233
}
234234

235-
this.columns = await loadTSV(this.file)
235+
this.columns = await loadTSV(this.file, this.dataset.options?.maxRows)
236236
.catch((error) => {
237237
if (error.key) {
238238
this.dataset.issues.add({ code: error.key, location: this.file.path })

0 commit comments

Comments
 (0)