From fbcc9d0361770181228d139aaf9efb9eb1429a70 Mon Sep 17 00:00:00 2001 From: Forrest Collman Date: Wed, 4 Dec 2024 08:48:52 -0800 Subject: [PATCH] add version 2 range constraint --- caveclient/chunkedgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caveclient/chunkedgraph.py b/caveclient/chunkedgraph.py index d5ea991b..0a446492 100644 --- a/caveclient/chunkedgraph.py +++ b/caveclient/chunkedgraph.py @@ -261,7 +261,7 @@ def get_root_id(self, supervoxel_id, timestamp=None, level2=False) -> np.int64: response = self.session.get(url, params=query_d) return np.int64(handle_response(response, as_json=True)["root_id"]) - @_check_version_compatibility(method_constraint=">=2.18.0") + @_check_version_compatibility(method_constraint="<3,>=2.18.0") def get_minimal_covering_nodes(self, node_ids: Iterable[np.int64 or int]) -> dict: """Get the minimal covering nodes for a list of root IDs.