I'd like to get segment root_ids for objects that are directly contacting a target object. Using get_contact_sites should provide what I'm looking for, but I get an error.
{
"code": 500,
"duration": 243.089199066162,
"message": "ChunkedGraph.get_subgraph_edges() got an unexpected keyword argument 'connected_edges'",
"timestamp": "2024-03-20 19:36:46.086529",
"traceback": [
"Traceback (most recent call last):\n",
" File \"/app/venv/lib/python3.11/site-packages/flask/app.py\", line 1484, in full_dispatch_request\n rv = self.dispatch_request()\n ^^^^^^^^^^^^^^^^^^^^^^^\n",
" File \"/app/venv/lib/python3.11/site-packages/flask/app.py\", line 1469, in dispatch_request\n return self.ensure_sync(self.view_functions[rule.endpoint])(view_args)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
" File \"/app/venv/lib/python3.11/site-packages/middle_auth_client/decorators.py\", line 296, in decorated_function\n return f(*args, *kwargs)\n ^^^^^^^^^^^^^^^^^^\n",
" File \"/app/venv/lib/python3.11/site-packages/middle_auth_client/decorators.py\", line 418, in decorated_function\n return f(args, kwargs)\n ^^^^^^^^^^^^^^^^^^\n",
" File \"/app/pychunkedgraph/app/app_utils.py\", line 114, in decorated_function\n return f(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^\n",
" File \"/app/pychunkedgraph/app/segmentation/v1/routes.py\", line 345, in handle_contact_sites\n contact_sites, contact_site_metadata = common.handle_contact_sites(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
" File \"/app/pychunkedgraph/app/segmentation/common.py\", line 893, in handle_contact_sites\n cs_list, cs_metadata = get_contact_sites(\n ^^^^^^^^^^^^^^^^^^\n",
" File \"/app/pychunkedgraph/graph/misc.py\", line 184, in get_contactsites\n edges, , areas = cg.get_subgraph_edges(\n ^^^^^^^^^^^^^^^^^^^^^^\n",
"TypeError: ChunkedGraph.get_subgraph_edges() got an unexpected keyword argument 'connected_edges'\n"
]
}
Error persists with different datastack (minnie65_phase3_v1), different bounds resolution (4x4x40), different root id, and different bounds dimensions.
I'd like to get segment root_ids for objects that are directly contacting a target object. Using get_contact_sites should provide what I'm looking for, but I get an error.
Using:
yields error: https://minnie.microns-daf.com/segmentation/api/v1/table/minnie65_public/node/864691135270779045/contact_sites?bounds=120255-120455_103827-104027_21350-21370&partners=True
Error persists with different datastack (minnie65_phase3_v1), different bounds resolution (4x4x40), different root id, and different bounds dimensions.