Skip to content

Commit

Permalink
Ruff conformity.
Browse files Browse the repository at this point in the history
  • Loading branch information
kebwi committed Oct 30, 2024
1 parent 3e936d9 commit e69e249
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions caveclient/skeletonservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,9 @@ def get_bulk_skeletons(
)
sk_jsons[rid] = sk_json
except Exception as e:
logging.error(f"Error decompressing skeleton for root_id {rid}: {e}")
logging.error(
f"Error decompressing skeleton for root_id {rid}: {e}"
)
return sk_jsons
elif output_format == "swc":
sk_dfs = {}
Expand All @@ -557,7 +559,9 @@ def get_bulk_skeletons(
)
sk_dfs[rid] = sk_df
except Exception as e:
logging.error(f"Error decompressing skeleton for root_id {rid}: {e}")
logging.error(
f"Error decompressing skeleton for root_id {rid}: {e}"
)
return sk_dfs

@_check_version_compatibility(method_constraint=">=0.5.9")
Expand Down Expand Up @@ -590,4 +594,6 @@ def generate_bulk_skeletons_async(
self.raise_for_status(response, log_warning=log_warning)

if verbose_level >= 1:
logging.info(f"Queued asynchronous skeleton generation for root_ids: {root_ids}")
logging.info(
f"Queued asynchronous skeleton generation for root_ids: {root_ids}"
)

0 comments on commit e69e249

Please sign in to comment.