Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when exporting motion-corrected frames with large size (>4GB) using Sima #236

Open
yatangli opened this issue Aug 4, 2017 · 0 comments

Comments

@yatangli
Copy link

yatangli commented Aug 4, 2017

dataset.export_frames(output_filenames)
Traceback (most recent call last):

File "", line 1, in
dataset.export_frames(output_filenames)

File "C:\Anaconda2\lib\site-packages\sima\imaging.py", line 613, in export_frames
sequence.export(fns, fmt, fill_gaps, self.channel_names)

File "C:\Anaconda2\lib\site-packages\sima\sequence.py", line 439, in export
f.write_page(channel.astype('uint16'))

File "C:\Anaconda2\lib\site-packages\sima\misc\tifffile.py", line 372, in write_page
self._write(self._offset_format, pos)

File "C:\Anaconda2\lib\site-packages\sima\misc\tifffile.py", line 363, in _write
self.fh.write(pack(arg, *args) if args else arg)

File "C:\Anaconda2\lib\site-packages\sima\misc\tifffile.py", line 362, in pack
return struct.pack(self._byteorder+fmt, *val)

error: integer out of range for 'I' format code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant