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 53ccf79 commit d580459Copy full SHA for d580459
niworkflows/interfaces/norm.py
@@ -169,7 +169,9 @@ def _get_settings(self):
169
data_dir = load_data()
170
# Get a list of settings files that match the flavor.
171
filenames = [
172
- i for i in data_dir.iterdir() if i.startswith(filestart) and i.endswith(".json")
+ path.name
173
+ for path in data_dir.iterdir()
174
+ if path.name.startswith(filestart) and path.name.endswith(".json")
175
]
176
# Return the settings files.
177
return [str(data_dir / f) for f in sorted(filenames)]
0 commit comments