Skip to content

Commit

Permalink
Adding regex for space entity.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam2392 committed Feb 15, 2021
1 parent 4c1be20 commit b7a71b8
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion bids-validator/bids_validator/rules/file_level_rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,27 @@
},

"ieeg": {
"regexp": "^[\\/\\\\](sub-[a-zA-Z0-9]+)[\\/\\\\](?:(ses-[a-zA-Z0-9]+)[\\/\\\\])?ieeg[\\/\\\\]\\1(_\\2)?(?:_task-[a-zA-Z0-9]+)?(?:_acq-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_proc-[a-zA-Z0-9]+)?(?:_split-[0-9]+)?(?:_space-[a-zA-Z0-9]+)?((_ieeg\\.(@@@_ieeg_type_@@@)|(@@@_ieeg_ext_@@@))|(?:_recording-[a-zA-Z0-9]+)?(?:@@@_cont_ext_@@@))$",
"regexp": "^[\\/\\\\](sub-[a-zA-Z0-9]+)[\\/\\\\](?:(ses-[a-zA-Z0-9]+)[\\/\\\\])?ieeg[\\/\\\\]\\1(_\\2)?(?:_task-[a-zA-Z0-9]+)?(?:_acq-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_proc-[a-zA-Z0-9]+)?(?:_split-[0-9]+)?(?:_space\\.(@@@_ieeg_space_@@@)?((_ieeg\\.(@@@_ieeg_type_@@@)|(@@@_ieeg_ext_@@@))|(?:_recording-[a-zA-Z0-9]+)?(?:@@@_cont_ext_@@@))$",
"tokens": {
"@@@_ieeg_space_@@@": [
"Other",
"Pixels",
"ACPC",
"MNI152Lin",
"MNI152NLin6",
"MNI152NLin2009",
"MNIColin27",
"MNI305",
"NIHPD",
"Talairach",
"OASIS30AntsOASISAnts",
"OASIS30Atropos",
"ICBM452AirSpace",
"ICBM452Warp5Space",
"IXI549Space",
"fsaverage",
"UNCInfant"
],
"@@@_ieeg_type_@@@": [
"edf",
"vhdr",
Expand Down

0 comments on commit b7a71b8

Please sign in to comment.