Skip to content

Commit

Permalink
Merge pull request #284 from INCF/chrisfilo-patch-2
Browse files Browse the repository at this point in the history
fixing a typo in top level
  • Loading branch information
chrisgorgo authored Jun 1, 2017
2 parents 6f5a36c + 4124627 commit a0117c8
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 @@ -37,7 +37,7 @@ module.exports = {
*/
isTopLevel: function(path) {
var fixedTopLevelNames = ["/README", "/CHANGES", "/dataset_description.json", "/participants.tsv",
"participants.json", "/phasediff.json", "/phase1.json", "/phase2.json" ,"/fieldmap.json"];
"/participants.json", "/phasediff.json", "/phase1.json", "/phase2.json" ,"/fieldmap.json"];

var funcTopRe = new RegExp('^\\/(?:ses-[a-zA-Z0-9]+_)?(?:recording-[a-zA-Z0-9]+_)?task-[a-zA-Z0-9]+(?:_acq-[a-zA-Z0-9]+)?(?:_rec-[a-zA-Z0-9]+)?(?:_run-[0-9]+)?'
+ '(_bold.json|_sbref.json|_events.json|_events.tsv|_physio.json|_stim.json|_beh.json)$');
Expand Down

0 comments on commit a0117c8

Please sign in to comment.