Skip to content

Commit

Permalink
Revert "participants gets reassigned, declare with let not const"
Browse files Browse the repository at this point in the history
This reverts commit 10acb67.
  • Loading branch information
rwblair committed Aug 8, 2023
1 parent 10acb67 commit 5ec0b3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bids-validator/validators/bids/fullTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const fullTest = (fileList, options, annexed, dir, schema, callback) => {
}
const jsonFiles = []
const headers = []
let participants = null
const participants = null
const phenotypeParticipants = []

const tsvs = []
Expand Down Expand Up @@ -126,6 +126,7 @@ const fullTest = (fileList, options, annexed, dir, schema, callback) => {
})
.then(({ tsvIssues, participantsTsvContent }) => {
self.issues = self.issues.concat(tsvIssues)

// extract metadata on participants to metadata.age and
// return metadata on each subject from participants.tsv
summary.subjectMetadata = collectSubjectMetadata(participantsTsvContent)
Expand Down

0 comments on commit 5ec0b3d

Please sign in to comment.