Skip to content

Commit

Permalink
Merge pull request #485 from jasmainak/fix_meg_extensions
Browse files Browse the repository at this point in the history
FIX regexp for ctf and itab files
  • Loading branch information
chrisgorgo authored Jul 19, 2018
2 parents 1a91b2a + c2767d6 commit 002d3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/type.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,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.(ctf|fif|fif.gz|4d|kit|kdf|itab)|(_meg.ds\\/.*)|(_events.tsv|_channels.tsv|_meg.json|_coordsystem.json|_photo.jpg|_headshape.pos))$');
'(_meg.(fif|fif.gz|sqd|con|kdf|chn|trg|raw|raw.mhd)|(_meg.ds\\/.*)|(_events.tsv|_channels.tsv|_meg.json|_coordsystem.json|_photo.jpg|_headshape.pos))$');
return conditionalMatch(MegRe, path);
},

Expand Down

0 comments on commit 002d3c6

Please sign in to comment.