Skip to content

Commit df91c74

Browse files
author
Matthew Gramigna
committed
Add toLowerCase to patient id CSV parser
1 parent 096af8d commit df91c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/appUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function parsePatientIds(pathToCSV) {
1212
// Parse CSV for list of patient IDs
1313
const patientIdsCsvPath = path.resolve(pathToCSV);
1414
const patientIds = parse(fs.readFileSync(patientIdsCsvPath, 'utf8'), {
15-
columns: true,
15+
columns: (header) => header.map((column) => column.toLowerCase()),
1616
bom: true,
1717
}).map((row) => {
1818
if (!row.mrn) {

0 commit comments

Comments
 (0)