Set self ignore and force_index
@@ -233,10 +233,10 @@ class BIDSLayout(object):
ignore = self._default_ignore
# Instantiate after root validation to ensure os.path.join works
- ignore = [os.path.abspath(os.path.join(self.root, patt))
+ self.ignore = [os.path.abspath(os.path.join(self.root, patt))
if isinstance(patt, str) else patt
for patt in listify(ignore or [])]
- force_index = [os.path.abspath(os.path.join(self.root, patt))
+ self.force_index = [os.path.abspath(os.path.join(self.root, patt))
if isinstance(patt, str) else patt
for patt in listify(force_index or [])]
