Skip to content

Commit

Permalink
Renamed the parameter "list" to "label_image" in the calls to the fun…
Browse files Browse the repository at this point in the history
…ction exclude_labels.
  • Loading branch information
haesleinhuepf committed Oct 16, 2024
1 parent 04a13c7 commit bd49bf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_exclude_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_exclude_labels_2d():

flaglist = cle.push(np.asarray([[0, 0, 0, 1, 1, 0, 0, 1, 0]]).astype(np.uint32))

gpu_output = cle.exclude_labels(gpu_input, flaglist)
gpu_output = cle.exclude_labels(gpu_input, label_image=flaglist)

a = cle.pull(gpu_output)
b = cle.pull(gpu_reference)
Expand Down Expand Up @@ -82,7 +82,7 @@ def test_exclude_labels_3d():

flaglist = cle.push(np.asarray([[0, 0, 0, 1, 1, 0, 0, 1, 0]]).astype(np.uint32))

gpu_output = cle.exclude_labels(gpu_input, flaglist)
gpu_output = cle.exclude_labels(gpu_input, label_image=flaglist)

a = cle.pull(gpu_output)
b = cle.pull(gpu_reference)
Expand Down

0 comments on commit bd49bf4

Please sign in to comment.