Skip to content

Commit

Permalink
fix ordering (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdpedigo authored Mar 11, 2024
1 parent c3d4de3 commit 2622b71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions caveclient/chunkedgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,8 @@ def level2_chunk_graph(self, root_id, bounds=None) -> list:

url = self._endpoints["lvl2_graph"].format_map(endpoint_mapping)
response = self.session.get(url, params=query_d)

r = handle_response(response)

used_bounds = response.headers.get("Used-Bounds")
used_bounds = used_bounds == "true" or used_bounds == "True"
Expand All @@ -818,8 +820,6 @@ def level2_chunk_graph(self, root_id, bounds=None) -> list:
"your system administrator to update the chunkedgraph."
)
raise ValueError(warning)

r = handle_response(response)

return r["edge_graph"]

Expand Down

0 comments on commit 2622b71

Please sign in to comment.