Closed julesberman closed 2 years ago
Hi! For some reason, I am not able to reproduce this bug. It has something to do with this PR https://github.com/seung-lab/connected-components-3d/pull/67. I did find a bug in that function a while back and fixed it. Can you let me know what version of cc3d you're using?
Thank you!
I think I fixed it in the last release:
https://github.com/seung-lab/connected-components-3d/commit/2da2547570ba5dc83fda9b17e68ea34b9fdc01d1
Yes the update seems to have fix the issue for me. Thanks for the quick response.
Fantastic! Let me know if you run into any other issues.
The follow index error is generated when using connected components:
This can be reproduced with the following code:
In addition the array returned is all zeros, which I don't think should be the case. Surprisingly if we init to ones all runs as expected as in:
test = np.ones((3, 4, 4,), dtype='int')
I may be missing something, but I don't think this expected behavior.