Skip to content

Commit

Permalink
ruff cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kebwi committed Dec 20, 2024
1 parent bf9a5d9 commit c777dae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion caveclient/skeletonservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,9 @@ def skeletons_exist(
root_ids = str(root_ids)
if isinstance(root_ids, np.ndarray):
root_ids = root_ids.tolist()
if not isinstance(root_ids, List): # If not a list, it can only be a string at this point
if not isinstance(
root_ids, List
): # If not a list, it can only be a string at this point
root_ids = [root_ids]

if len(root_ids) > MAX_SKELETONS_EXISTS_QUERY_SIZE:
Expand Down

0 comments on commit c777dae

Please sign in to comment.