Skip to content
Snippets Groups Projects
Commit ce257d19 authored by Arin Wongprommoon's avatar Arin Wongprommoon
Browse files

test(aliby): fix typo

WHY IS THIS CHANGE NEEDED?:
- https://git.ecdf.ed.ac.uk/swain-lab/aliby/aliby/-/jobs/56786 because
  AttributeError: 'function' object has no attribute 'shape'

REFERENCES:
- issue #53
parent 97d50339
No related branches found
No related tags found
No related merge requests found
......@@ -36,4 +36,4 @@ def test_pad_array(sample_da, dim, n_empty_slices):
# Checks that original image array is there and is at the last index
assert np.array_equal(padded_da.compute()[ix], sample_da.compute()[0])
# Checks that the additional axis is extended correctly
assert padded_da.compute.shape[dim] == n_empty_slices + 1
assert padded_da.compute().shape[dim] == n_empty_slices + 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment