Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions copick_server/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# First read the tomogram to get the shape
store = get_mapper("http://localhost:8017/16463/Tomograms/VoxelSpacing10.012/wbp.zarr")
tomo = zarr.open(store, mode='r')
tomo = zarr.open(store, mode="r")
full_shape = tomo["0"].shape
print(f"Tomogram shape: {full_shape}")

Expand Down Expand Up @@ -39,4 +39,4 @@
if response.status_code == 200:
print("Successfully wrote segmentation")
else:
print(f"Failed to write segmentation: {response.status_code} - {response.text}")
print(f"Failed to write segmentation: {response.status_code} - {response.text}")
Loading