Closed adhamenaya closed 11 months ago
Thanks for the report!
This error has been fixed in the latest release of spaghetti
. Please upgrade to spaghetti==1.7.4
.
xref: https://github.com/pysal/spaghetti/issues/717, https://github.com/pysal/spaghetti/issues/718
@jGaboardi yeah!! thank you soo much!!!
Describe the bug Error while using _spaghetti.element_asgdf
To Reproduce
System & Versions
Platform information: posix darwin posix.uname_result(sysname='Darwin', nodename='eduroam-int-dhcp-97-26-155.ucl.ac.uk', release='22.2.0', version='Darwin Kernel Version 22.2.0: Fri Nov 11 02:04:44 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T8103', machine='x86_64')
Python version: 3.10.9 (main, Mar 1 2023, 12:33:47) [Clang 14.0.6 ]
spaghetti version: 1.6.8
libpysal version: 4.6.2
SciPy version: 1.10.0
NumPy version: 1.23.5
GeoPandas version (if applicable): 0.13.0
More info: I received the following error in the this line of code:
_, arc_df = spaghetti.element_as_gdf(ntw, vertices=True, arcs=True)