Skip to content

Commit d17a1a6

Browse files
authored
Merge pull request #548 from olgn/over-zealous-64-code
do not run sub - ses mismatch test on /stimuli folder
2 parents fbf6a55 + 5492b44 commit d17a1a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

validators/bids.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,9 @@ BIDS = {
783783

784784
// validates if sub/ses-id in filename matches with ses/sub directory file is saved
785785
async.eachOfLimit(fileList, 200, function(file) {
786+
if (utils.type.file.isStimuliData(file.relativePath)) {
787+
return
788+
}
786789
var values = getPathandFileValues(file.relativePath)
787790

788791
var pathValues = values[0]

0 commit comments

Comments
 (0)