~tfardet/nngt-developers

NNGT: Geometry: support Shapely 1.8+ v1 SUPERSEDED

~tfardet: 1
 Geometry: support Shapely 1.8+

 2 files changed, 4 insertions(+), 3 deletions(-)
#628162 .build.yml failed
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~tfardet/nngt-developers/patches/26527/mbox | git am -3
Learn more about email & git

[PATCH NNGT] Geometry: support Shapely 1.8+ Export this patch

From: Tanguy Fardet <tanguyfardet@protonmail.com>

---
 nngt/geometry      | 2 +-
 testing/test_io.py | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/nngt/geometry b/nngt/geometry
index 4c0bedd..9d0c4da 160000
--- a/nngt/geometry
+++ b/nngt/geometry
@@ -1 +1 @@
Subproject commit 4c0bedd21a4af0c1f80aae58a7ef16b1ebd7d54f
Subproject commit 9d0c4da96b184c36f8b4fbdccc84ac4dafa2285f
diff --git a/testing/test_io.py b/testing/test_io.py
index c5bc047..c751d81 100644
--- a/testing/test_io.py
+++ b/testing/test_io.py
@@ -278,10 +278,11 @@ def test_spatial():
        h = nngt.load_from_file(gfilename, fmt=fmt)

        assert np.all(np.isclose(g.get_positions(), h.get_positions()))
        assert g.shape.almost_equals(h.shape)
        assert g.shape.normalize().almost_equals(h.shape.normalize(), 1e-5)

        for name, area in g.shape.areas.items():
            assert area.almost_equals(h.shape.areas[name])
            assert area.normalize().almost_equals(
                h.shape.areas[name].normalize(), 1e-5)

            assert area.properties == h.shape.areas[name].properties

-- 
2.32.0
NNGT/patches/.build.yml: FAILED in 21m45s

[Geometry: support Shapely 1.8+][0] from [~tfardet][1]

[0]: https://lists.sr.ht/~tfardet/nngt-developers/patches/26527
[1]: mailto:tanguyfardet@protonmail.com

✗ #628162 FAILED NNGT/patches/.build.yml https://builds.sr.ht/~tfardet/job/628162