Skip to content

Commit

Permalink
Merge pull request #496 from INCF/fix/remove_fif_gz
Browse files Browse the repository at this point in the history
Removal of fif.gz
  • Loading branch information
chrisgorgo authored Aug 27, 2018
2 parents 42f1eed + cf470c8 commit a783d14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/bids.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var fs = require('fs')
var AdmZip = require('adm-zip')
var path = require('path')
var Test = require('mocha/lib/test')
var test_version = '7817e60d06f74fd1b080db6942e5de36052d7242'
var test_version = '1.1.1u1'

function getDirectories(srcpath) {
return fs.readdirSync(srcpath).filter(function(file) {
Expand Down
2 changes: 1 addition & 1 deletion utils/type.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ module.exports = {
'\\/(?:(ses-[a-zA-Z0-9]+)' +
'\\/)?meg' +
'\\/\\1(_\\2)?(?:_task-[a-zA-Z0-9]+)?(?:_acq-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_proc-[a-zA-Z0-9]+)?(?:_part-[0-9]+)?' +
'(_meg(.fif|.fif.gz|.ds\\/.*|\\/.*)|(_events.tsv|_channels.tsv|_meg.json|_coordsystem.json|_photo.jpg|_headshape.pos))$',
'(_meg(.fif|.ds\\/.*|\\/.*)|(_events.tsv|_channels.tsv|_meg.json|_coordsystem.json|_photo.jpg|_headshape.pos))$',
)
return conditionalMatch(MegRe, path)
},
Expand Down
2 changes: 1 addition & 1 deletion validators/bids.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ BIDS = {
[
'^.*\\.(',
'nii|nii\\.gz|', // MRI
'fif|fif\\.gz|sqd|con|kdf|chn|trg|raw|raw\\.mhf|', // MEG
'fif|sqd|con|kdf|chn|trg|raw|raw\\.mhf|', // MEG
'eeg|vhdr|vmrk|edf|cnt|bdf|set|fdt|dat|nwb|tdat|tidx|tmet', // EEG/iEEG
')$',
].join(''),
Expand Down

0 comments on commit a783d14

Please sign in to comment.