Skip to content

Commit 4460739

Browse files
authored
Merge pull request #227 from jburel/numpy_update
Replace tostring by tobytes
2 parents 950b28b + 1f29df2 commit 4460739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

omero/export_scripts/Make_Movie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def download_plane(gateway, pixels, pixels_id, x, y, z, c, t):
9494
def upload_plane(gateway, new_pixels_id, x, y, z, c, t, new_plane):
9595
"""Uploads the specified plane. """
9696
byte_swapped_plane = new_plane.byteswap()
97-
converted_plane = byte_swapped_plane.tostring()
97+
converted_plane = byte_swapped_plane.tobytes()
9898
gateway.upload_plane(new_pixels_id, z, c, t, converted_plane)
9999

100100

0 commit comments

Comments
 (0)