Skip to content

Commit

Permalink
Version check correction
Browse files Browse the repository at this point in the history
  • Loading branch information
kebwi committed Dec 18, 2024
1 parent 3687436 commit 1348dc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions caveclient/skeletonservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def skeletons_exist(
"""
Confirm or deny that a set of root ids have H5 skeletons in the cache.
"""
if self._server_version < Version("0.8.0"):
if self._server_version < Version("0.9.0"):
logging.warning(
"Server version is old and only supports GET interactions for bulk async skeletons. Consider upgrading to a newer server version to enable POST interactions."
)
Expand Down Expand Up @@ -431,7 +431,7 @@ def skeletons_exist(
for batch in range(0, len(root_ids), BULK_SKELETONS_BATCH_SIZE):
rids_one_batch = root_ids[batch : batch + BULK_SKELETONS_BATCH_SIZE]

if self._server_version < Version("0.8.0"):
if self._server_version < Version("0.9.0"):
url = self._build_skeletons_exist_endpoint(
rids_one_batch, datastack_name, skeleton_version
)
Expand Down

0 comments on commit 1348dc0

Please sign in to comment.