We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d96f0a commit 3f9c25cCopy full SHA for 3f9c25c
1 file changed
templateflow/conf/__init__.py
@@ -1,5 +1,6 @@
1
"""Configuration and settings."""
2
from os import getenv
3
+import re
4
from warnings import warn
5
from pathlib import Path
6
from contextlib import suppress
@@ -151,12 +152,9 @@ def init_layout():
151
152
indexer=BIDSLayoutIndexer(
153
validate=False,
154
ignore=(
- ".git",
155
- ".datalad",
156
- ".gitannex",
157
- ".gitattributes",
158
- ".github",
159
- "scripts",
+ re.compile(r"scripts/"),
+ re.compile(r"/\."),
+ re.compile(r"^\."),
160
),
161
162
)
0 commit comments