Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
psadil committed Oct 2, 2024
1 parent dd198ad commit 69695ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions fmriprep/utils/bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ def collect_derivatives(
# whereas relevant src file will be "bold".
query = {
**q,
**{
k: v
for k, v in entities.items()
if k not in ['suffix', 'extension']
},
**{k: v for k, v in entities.items() if k not in ['suffix', 'extension']},
}
if xfm == 'boldref2fmap':
# fieldmaps have ids like auto_00000
Expand Down
1 change: 0 additions & 1 deletion fmriprep/utils/tests/test_derivative_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ def test_transforms_found_as_str(tmp_path: Path, xfm: str):
xfm_in_transforms = xfm in derivs.get('transforms')
transform_is_str = isinstance(derivs.get('transforms').get(xfm), str)
assert all((transforms_in_derivs, xfm_in_transforms, transform_is_str))

0 comments on commit 69695ff

Please sign in to comment.