fastremap 1.16.0__tar.gz → 1.16.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. {fastremap-1.16.0 → fastremap-1.16.1}/ChangeLog +5 -0
  2. {fastremap-1.16.0/fastremap.egg-info → fastremap-1.16.1}/PKG-INFO +2 -3
  3. {fastremap-1.16.0 → fastremap-1.16.1/fastremap.egg-info}/PKG-INFO +2 -3
  4. fastremap-1.16.1/fastremap.egg-info/pbr.json +1 -0
  5. {fastremap-1.16.0 → fastremap-1.16.1}/src/fastremap.pyx +6 -1
  6. fastremap-1.16.0/fastremap.egg-info/pbr.json +0 -1
  7. {fastremap-1.16.0 → fastremap-1.16.1}/.dockerignore +0 -0
  8. {fastremap-1.16.0 → fastremap-1.16.1}/.github/workflows/build_wheel.yml +0 -0
  9. {fastremap-1.16.0 → fastremap-1.16.1}/.github/workflows/test.yml +0 -0
  10. {fastremap-1.16.0 → fastremap-1.16.1}/AUTHORS +0 -0
  11. {fastremap-1.16.0 → fastremap-1.16.1}/LICENSE +0 -0
  12. {fastremap-1.16.0 → fastremap-1.16.1}/MANIFEST.in +0 -0
  13. {fastremap-1.16.0 → fastremap-1.16.1}/README.md +0 -0
  14. {fastremap-1.16.0 → fastremap-1.16.1}/automated_test.py +0 -0
  15. {fastremap-1.16.0 → fastremap-1.16.1}/build_linux.sh +0 -0
  16. {fastremap-1.16.0 → fastremap-1.16.1}/fastremap.egg-info/SOURCES.txt +0 -0
  17. {fastremap-1.16.0 → fastremap-1.16.1}/fastremap.egg-info/dependency_links.txt +0 -0
  18. {fastremap-1.16.0 → fastremap-1.16.1}/fastremap.egg-info/not-zip-safe +0 -0
  19. {fastremap-1.16.0 → fastremap-1.16.1}/fastremap.egg-info/requires.txt +0 -0
  20. {fastremap-1.16.0 → fastremap-1.16.1}/fastremap.egg-info/top_level.txt +0 -0
  21. {fastremap-1.16.0 → fastremap-1.16.1}/manylinux1.Dockerfile +0 -0
  22. {fastremap-1.16.0 → fastremap-1.16.1}/manylinux2010.Dockerfile +0 -0
  23. {fastremap-1.16.0 → fastremap-1.16.1}/manylinux2014.Dockerfile +0 -0
  24. {fastremap-1.16.0 → fastremap-1.16.1}/pyproject.toml +0 -0
  25. {fastremap-1.16.0 → fastremap-1.16.1}/requirements.txt +0 -0
  26. {fastremap-1.16.0 → fastremap-1.16.1}/requirements_dev.txt +0 -0
  27. {fastremap-1.16.0 → fastremap-1.16.1}/setup.cfg +0 -0
  28. {fastremap-1.16.0 → fastremap-1.16.1}/setup.py +0 -0
  29. {fastremap-1.16.0 → fastremap-1.16.1}/src/fastremap.pxd +0 -0
  30. {fastremap-1.16.0 → fastremap-1.16.1}/src/ipt.hpp +0 -0
  31. {fastremap-1.16.0 → fastremap-1.16.1}/src/ska_flat_hash_map.hpp +0 -0
  32. {fastremap-1.16.0 → fastremap-1.16.1}/test.py +0 -0
  33. {fastremap-1.16.0 → fastremap-1.16.1}/tox.ini +0 -0
@@ -1,6 +1,11 @@
1
1
  CHANGES
2
2
  =======
3
3
 
4
+ 1.16.1
5
+ ------
6
+
7
+ * fix: exclude floating point and column length != 2
8
+
4
9
  1.16.0
5
10
  ------
6
11
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.2
2
2
  Name: fastremap
3
- Version: 1.16.0
3
+ Version: 1.16.1
4
4
  Summary: Remap, mask, renumber, unique, and in-place transposition of 3D labeled images. Point cloud too.
5
5
  Home-page: https://github.com/seung-lab/fastremap/
6
6
  Author: William Silversmith
@@ -27,7 +27,6 @@ Dynamic: classifier
27
27
  Dynamic: description
28
28
  Dynamic: description-content-type
29
29
  Dynamic: home-page
30
- Dynamic: license-file
31
30
  Dynamic: requires-dist
32
31
  Dynamic: requires-python
33
32
  Dynamic: summary
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.2
2
2
  Name: fastremap
3
- Version: 1.16.0
3
+ Version: 1.16.1
4
4
  Summary: Remap, mask, renumber, unique, and in-place transposition of 3D labeled images. Point cloud too.
5
5
  Home-page: https://github.com/seung-lab/fastremap/
6
6
  Author: William Silversmith
@@ -27,7 +27,6 @@ Dynamic: classifier
27
27
  Dynamic: description
28
28
  Dynamic: description-content-type
29
29
  Dynamic: home-page
30
- Dynamic: license-file
31
30
  Dynamic: requires-dist
32
31
  Dynamic: requires-python
33
32
  Dynamic: summary
@@ -0,0 +1 @@
1
+ {"git_version": "6582512", "is_release": true}
@@ -876,7 +876,12 @@ def unique(labels, return_index=False, return_inverse=False, return_counts=False
876
876
  if (axis is not None) or (not np.issubdtype(labels.dtype, np.integer)):
877
877
  if (
878
878
  axis == 0
879
- and (labels.ndim == 2 and np.dtype(labels.dtype).itemsize < 8)
879
+ and (
880
+ labels.ndim == 2
881
+ and labels.shape[1] == 2
882
+ and np.dtype(labels.dtype).itemsize < 8
883
+ and np.issubdtype(labels.dtype, np.integer)
884
+ )
880
885
  and not (return_index or return_inverse or return_counts)
881
886
  and labels.flags.c_contiguous
882
887
  ):
@@ -1 +0,0 @@
1
- {"git_version": "a7c2749", "is_release": true}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes