Skip to content

Commit

Permalink
Fix error 'ImageStack' object has no attribute 'shape' (#2138)
Browse files Browse the repository at this point in the history
  • Loading branch information
samtygier-stfc committed Mar 14, 2024
2 parents 8950359 + e9333a5 commit 4b0e89d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/release_notes/next/fix-2129-median_cuda
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#2129 : fix: Pytest failure AttributeError: 'ImageStack' object has no attribute 'shape
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def filter_func(data: ImageStack, size=None, mode="reflect", progress=None, forc
if force_cpu:
ps.run_compute_func(MedianFilter.compute_function, data.data.shape[0], data.shared_array, params)
else:
_execute_gpu(data, size, mode, progress=None)
_execute_gpu(data.data, size, mode, progress=None)
return data

@staticmethod
Expand Down

0 comments on commit 4b0e89d

Please sign in to comment.