Skip to content

Using the preprocess external option with large images #206

Open
@mjseignon

Description

I have encountered this error below using the preprocess external option on large images?
Note that I have used this option before with no issues.
1- I convert the original image from .qptiff to .ome.tiff
2- I pass the post conversion image, .ome.tiff, to the preprocess eternal option of steinbock
The only difference is that I'm running an image that is ~85G post conversion vs ~2.5G post conversion with my initial successful testing.

Any ideas as to why the external option is failing here?

`
Command executed:

steinbock preprocess external images --img external --panel /steinbock/assets/codex_panel_1.csv --infoout img_info.csv

Command exit status:
1

Command output:
(empty)

Command error:
File "/app/steinbock/steinbock/io.py", line 191, in write_image
tifffile.imwrite(
File "/opt/steinbock-venv/lib/python3.8/site-packages/tifffile/tifffile.py", line 1202, in imwrite
result = tif.write(
File "/opt/steinbock-venv/lib/python3.8/site-packages/tifffile/tifffile.py", line 2871, in write
addtag(tags, tagbytecounts, bytecountformat, count, databytecounts)
File "/opt/steinbock-venv/lib/python3.8/site-packages/tifffile/tifffile.py", line 3702, in _addtag
ifdentry.append(pack(valueformat, pack(dataformat, value)))
File "/opt/steinbock-venv/lib/python3.8/site-packages/tifffile/tifffile.py", line 3728, in _pack
return struct.pack(fmt, *val)
struct.error: 'I' format requires 0 <= number <= 4294967295
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
OSError: [Errno 30] Read-only file system: '/var/crash/_opt_steinbock-venv_bin_steinbock.62988.crash'

`

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions