Skip to content

Commit c2767d6

Browse files
committed
FIX regexp for ctf and itab files
1 parent 1a91b2a commit c2767d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/type.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ module.exports = {
200200
'\\/(?:(ses-[a-zA-Z0-9]+)' +
201201
'\\/)?meg' +
202202
'\\/\\1(_\\2)?(?:_task-[a-zA-Z0-9]+)?(?:_acq-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_proc-[a-zA-Z0-9]+)?(?:_part-[0-9]+)?' +
203-
'(_meg.(ctf|fif|fif.gz|4d|kit|kdf|itab)|(_meg.ds\\/.*)|(_events.tsv|_channels.tsv|_meg.json|_coordsystem.json|_photo.jpg|_headshape.pos))$');
203+
'(_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))$');
204204
return conditionalMatch(MegRe, path);
205205
},
206206

0 commit comments

Comments
 (0)