Skip to content

Commit

Permalink
Merge pull request #419 from INCF/chrisfilo-patch-11
Browse files Browse the repository at this point in the history
Fix JSONs not recognized on session level
  • Loading branch information
chrisgorgo authored Feb 28, 2018
2 parents f2b6c14 + ea581ba commit d2bc984
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 @@ -88,7 +88,7 @@ module.exports = {

var funcSesRe = new RegExp('^\\/(sub-[a-zA-Z0-9]+)' +
'\\/(?:(ses-[a-zA-Z0-9]+)' +
'\\/)?\\1(_\\2)?task-[a-zA-Z0-9]+(?:_acq-[a-zA-Z0-9]+)?(?:_rec-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_echo-[0-9]+)?'
'\\/)?\\1(_\\2)?_task-[a-zA-Z0-9]+(?:_acq-[a-zA-Z0-9]+)?(?:_rec-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?(?:_echo-[0-9]+)?'
+ '(_bold.json|_sbref.json|_events.json|_events.tsv|_physio.json|_stim.json)$');

var anatSesRe = new RegExp('^\\/(sub-[a-zA-Z0-9]+)' +
Expand Down

0 comments on commit d2bc984

Please sign in to comment.