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 73ed096 commit 03cb3edCopy full SHA for 03cb3ed
niworkflows/interfaces/tests/test_bids.py
@@ -367,7 +367,7 @@ def test_DerivativesDataSink_build_path(
367
for out, exp in zip(output, expectation):
368
assert Path(out).relative_to(base_directory) == Path(base) / exp
369
# Regression - some images were given nan scale factors
370
- if out.endswith('.nii') or out.endswith('.nii.gz'):
+ if out.endswith(('.nii', '.nii.gz')):
371
img = nb.load(out)
372
if isinstance(img, nb.Nifti1Image):
373
with nb.openers.ImageOpener(out) as fobj:
0 commit comments