Skip to content
Open
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
2 changes: 1 addition & 1 deletion cloudreg/scripts/transform_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _parse_annotation_layer(self, layer_data):
return layer_data

def _parse_image_layer(self, layer_data):
vol = CloudVolume(layer_data["source"]["url"].split("precomputed://")[-1])
vol = CloudVolume(layer_data["source"].split("precomputed://")[-1])
self.image_shape = np.array(vol.scales[0]["size"])
# converting from nm to um
self.image_voxel_size = np.array(vol.scales[0]["resolution"]) / 1e3
Expand Down