Skip to content

Commit a783d14

Browse files
authored
Merge pull request #496 from INCF/fix/remove_fif_gz
Removal of fif.gz
2 parents 42f1eed + cf470c8 commit a783d14

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/bids.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var fs = require('fs')
88
var AdmZip = require('adm-zip')
99
var path = require('path')
1010
var Test = require('mocha/lib/test')
11-
var test_version = '7817e60d06f74fd1b080db6942e5de36052d7242'
11+
var test_version = '1.1.1u1'
1212

1313
function getDirectories(srcpath) {
1414
return fs.readdirSync(srcpath).filter(function(file) {

utils/type.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ module.exports = {
314314
'\\/(?:(ses-[a-zA-Z0-9]+)' +
315315
'\\/)?meg' +
316316
'\\/\\1(_\\2)?(?:_task-[a-zA-Z0-9]+)?(?:_acq-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_proc-[a-zA-Z0-9]+)?(?:_part-[0-9]+)?' +
317-
'(_meg(.fif|.fif.gz|.ds\\/.*|\\/.*)|(_events.tsv|_channels.tsv|_meg.json|_coordsystem.json|_photo.jpg|_headshape.pos))$',
317+
'(_meg(.fif|.ds\\/.*|\\/.*)|(_events.tsv|_channels.tsv|_meg.json|_coordsystem.json|_photo.jpg|_headshape.pos))$',
318318
)
319319
return conditionalMatch(MegRe, path)
320320
},

validators/bids.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ BIDS = {
282282
[
283283
'^.*\\.(',
284284
'nii|nii\\.gz|', // MRI
285-
'fif|fif\\.gz|sqd|con|kdf|chn|trg|raw|raw\\.mhf|', // MEG
285+
'fif|sqd|con|kdf|chn|trg|raw|raw\\.mhf|', // MEG
286286
'eeg|vhdr|vmrk|edf|cnt|bdf|set|fdt|dat|nwb|tdat|tidx|tmet', // EEG/iEEG
287287
')$',
288288
].join(''),

0 commit comments

Comments
 (0)