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 0f24374 commit 24d6360Copy full SHA for 24d6360
niworkflows/interfaces/bids.py
@@ -216,9 +216,7 @@ def _run_interface(self, runtime):
216
except ValueError:
217
pass
218
params = parse_file_entities(in_file)
219
- self._results = {
220
- key: params.get(key, Undefined) for key in _BIDSInfoOutputSpec().get().keys()
221
- }
+ self._results = {key: params.get(key, Undefined) for key in _BIDSInfoOutputSpec().get()}
222
return runtime
223
224
niworkflows/interfaces/surf.py
@@ -182,7 +182,7 @@ def _outputs(self):
182
trait_change_notify=False,
183
**{
184
entity: Undefined
185
- for entity in self._pattern.groupindex.keys()
+ for entity in self._pattern.groupindex
186
if entity not in self._excluded
187
},
188
)
0 commit comments