You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MultiLineString object is created since we are calling extract_points_from_geometry on the intersection with convex hull which in this case are the predictions as LineString objects.
2024-10-18 17:05:49,040 - ERROR - File "/opt/conda/lib/python3.11/site-packages/sleap_roots/convhull.py", line 551, in get_chull_intersection_vectors
2024-10-18 17:05:49,042 - ERROR - intersect_points = extract_points_from_geometry(intersection)
When running the
OlderMonocotPipeline
on this 10 day-old rice sample with nothing but contamination/gel deformities we get the following errorbecause the predictions are
and our current helper function does not allow for the possibility of
MultiLineString
.https://github.com/talmolab/sleap-roots/blob/e5dde883ae7136161e441436f346c34420194b32/sleap_roots/points.py#L11C1-L46C81
We should consider each of the geometry types here and have tests for each geometry type.
sleap-roots/tests/test_points.py
Line 802 in e5dde88
The
MultiLineString
object is created since we are callingextract_points_from_geometry
on the intersection with convex hull which in this case are the predictions asLineString
objects.sleap-roots/sleap_roots/convhull.py
Lines 536 to 551 in e5dde88
The text was updated successfully, but these errors were encountered: