Skip to content

Commit 4bb5c9f

Browse files
committed
remove sub-emptyroom from inconsistent subject test
1 parent 3733cb0 commit 4bb5c9f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

tests/bids.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ var missing_session_files = [
2828
'ds109',
2929
'ds113b',
3030
'ds000117',
31-
'ds000246',
3231
'ds000247',
3332
]
3433

validators/session.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ var session = function missingSessionFiles(fileList) {
3131
} else {
3232
subject = match[0]
3333
}
34+
35+
// suppress inconsistent subject warnings for sub-emptyroom scans
36+
// in MEG data
37+
if (subject == 'sub-emptyroom') {
38+
continue
39+
}
40+
3441
// initialize an empty array if we haven't seen this subject before
3542
if (typeof subjects[subject] === 'undefined') {
3643
subjects[subject] = []

0 commit comments

Comments
 (0)