Call super on validate file
@@ -21,7 +21,7 @@ class BIDSLayout(Layout):
def _validate_file(self, f):
# Return False to exclude a file from indexing. This should call
# some kind of validation regex.
- return True
+ return super(BIDSLayout, self)._validate_file(f)
def _get_nearest_helper(self, path, extension, type=None, **kwargs):
""" Helper function for grabbit get_nearest """
